Skip to content

Commit f23af69

Browse files
authored
chore(ws): allowed theme configuration during frontend start (#438)
Signed-off-by: paulovmr <[email protected]>
1 parent 09f8f37 commit f23af69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workspaces/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"build:bundle-analyze": "webpack-bundle-analyzer ./bundle.stats.json",
1717
"build:clean": "rimraf ./dist",
1818
"build:prod": "webpack --config ./config/webpack.prod.js",
19-
"start:dev": "webpack serve --hot --color --config ./config/webpack.dev.js",
20-
"start:dev:mock": "cross-env MOCK_API_ENABLED=true npm run start:dev",
19+
"start:dev": "cross-env STYLE_THEME=$npm_config_theme webpack serve --hot --color --config ./config/webpack.dev.js",
20+
"start:dev:mock": "cross-env MOCK_API_ENABLED=true STYLE_THEME=$npm_config_theme npm run start:dev",
2121
"test": "run-s test:lint test:unit test:cypress-ci",
2222
"test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock -- {@}\" -- ",
2323
"test:jest": "jest --passWithNoTests",

0 commit comments

Comments
 (0)