Commit fc885a03 authored by Hrvoje Šimić's avatar Hrvoje Šimić Committed by Dan Abramov
Browse files

start using npm-run-all to build scss and js (#2957)

instead of using `&&` to run multiple commands in `package.json`, guide users to use `npm-run-all`
parent 5a336ad1
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 1 deletion
+2 -1
......@@ -599,7 +599,8 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c
- "build": "react-scripts build",
+ "start-js": "react-scripts start",
+ "start": "npm-run-all -p watch-css start-js",
+ "build": "npm run build-css && react-scripts build",
+ "build-js": "react-scripts build",
+ "build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment