Skip to content

Instantly share code, notes, and snippets.

@Moizsohail
Last active March 3, 2022 05:57
Show Gist options
  • Save Moizsohail/2a83f9132d5b645fe1df472a7d0d247e to your computer and use it in GitHub Desktop.
Save Moizsohail/2a83f9132d5b645fe1df472a7d0d247e to your computer and use it in GitHub Desktop.
"scripts": {
"build": "INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false react-scripts build && rm -rf dist/* && mv build/* dist",
"dev": "npm-watch build"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "js,jsx,tsx,ts,css"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment