-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
Build environment: Windows
Moddable SDK version: If you are unsure, display it in the terminal using: 7.1.0-2-ge483dc6bf
Target device: Desktop simulator
Description
Steps to Reproduce
- Define in
manifest.json:
"config": {
"startUrl": "/"
},- In the app:
import config from "mc/config";
trace("URL: ", config.startUrl);- Run
mcconfig -d -m -p sim startUrl="/settings?page=foo"(ormcconfig -d -m -p sim --startUrl-=/settings?page=foo)
Notice that the presence of the equals sign in the value results in:
### Error: 'startUrl=/settings?page=foo': manifest not found!
Expected behavior
According to documentation for mcconfig, I can override the config arguments:
config arguments specified in the form of key-=value or key="value". These are merged into the config section of the manifest. Import the mc/config module to access them
So in this case the log should be URL: /settings?page=foo instead of / and there should be no build error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels