Skip to content

Commit

Permalink
Close treeshake in vls
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Sep 22, 2020
1 parent 57ff9e5 commit f99148c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export default [
output: { file: getVlsURL(vlsPkg.main), name: vlsPkg.name, format: 'cjs', sourcemap: true, interop: 'auto' },
external,
onwarn,
// Close treeshake, because bundle size is same and reduce build time.
treeshake: false,
watch: {
include: getVlsURL('**')
},
Expand Down

0 comments on commit f99148c

Please sign in to comment.