Skip to content

Commit

Permalink
Fix issue with create-react-app webpack build (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored May 5, 2020
1 parent 4b1a58d commit 3285b24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.27.0",
"rollup-plugin-visualizer": "^4.0.3",
"rollup-plugin-web-worker-loader": "^1.1.1",
"rollup-plugin-web-worker-loader": "^1.1.3",
"serve": "^11.3.0",
"ts-jest": "^24.3.0",
"tslint": "^6.1.1",
Expand Down
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const shouldGenerateStats = process.env.WITH_STATS === 'true';
const getPlugins = shouldMinify => {
return [
webWorkerLoader({
targetPlatform: 'browser',
sourceMap: !isProduction,
preserveSource: !isProduction,
pattern: /^[^\/].+\.worker\.ts$/
Expand Down

0 comments on commit 3285b24

Please sign in to comment.