Fix an issue with multiple parameters not working after webpack build
This commit is contained in:
parent
07f159e8aa
commit
1a087c7243
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"dev": "webpack -d --watch --progress & node node-server",
|
||||
"build": "webpack -p --progress",
|
||||
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json ./build -p 9999",
|
||||
"analyze": "webpack -p --profile --json > stats.json && webpack-bundle-analyzer stats.json ./docs -p 9999",
|
||||
"format": "prettier -l --write \"**/*{js,scss}\" "
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
@ -29,7 +29,7 @@ export default angular
|
|||
var uriSettings = _.cloneDeep(settings);
|
||||
_.each(uri, function(uri_element) {
|
||||
if (uri_element.startsWith("--")) {
|
||||
uri_options = uri_element.split(/--|=(.*)/);
|
||||
var uri_options = uri_element.split(/--|=(.*)/);
|
||||
if (uri_options.length > 2) {
|
||||
uriSettings[uri_options[2]] = uri_options[3] || "true";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user