Skip to content

Commit

Permalink
feat: build optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
wialy committed Feb 4, 2021
1 parent f88bc0f commit 93228e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions snowpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ module.exports = {
// {"match": "routes", "src": ".*", "dest": "/index.html"},
],
optimize: {
/* Example: Bundle your final build: */
// "bundle": true,
bundle: true,
minify: true,
splitting: true,
target: 'es2018',
treeshake: true,
},
packageOptions: {
/* ... */
Expand Down

0 comments on commit 93228e2

Please sign in to comment.