Skip to content

Commit

Permalink
Don't inline webpack JS runtime code
Browse files Browse the repository at this point in the history
Froma https://create-react-app.dev/docs/advanced-configuration

> By default, Create React App will embed the runtime script into
> index.html during the production build. When set to false, the script
> will not be embedded and will be imported as usual. This is normally
> required when dealing with CSP.
  • Loading branch information
bjoernricks committed Jul 20, 2021
1 parent 279466b commit 44c7121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"test:coverage": "react-scripts test --coverage --maxWorkers 2",
"lint": "eslint --max-warnings 0 src",
"start": "react-scripts start",
"build": "react-scripts build",
"build": "INLINE_RUNTIME_CHUNK=false react-scripts build",
"eject": "react-scripts eject",
"storybook": "NODE_PATH=src start-storybook",
"build-storybook": "NODE_PATH=src build-storybook",
Expand Down

0 comments on commit 44c7121

Please sign in to comment.