Skip to content

Commit

Permalink
Add "sideEffects": false for webpack 4
Browse files Browse the repository at this point in the history
When constructing my sample I found this flag prevented webpack from including a redundant copy of the runtime in the bundle.
  • Loading branch information
RikkiGibson authored Aug 2, 2018
1 parent 5bd7b67 commit f8f1fb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,6 @@
"local": "node ./.scripts/local.js",
"preview": "node ./.scripts/preview.js",
"latest": "node ./.scripts/latest.js"
}
},
"sideEffects": false
}

0 comments on commit f8f1fb6

Please sign in to comment.