Skip to content

Commit

Permalink
perf(): unknown globals are side effect free
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Sep 24, 2019
1 parent eb259a9 commit 370636a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/app-core/bundle-app-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const bundleApp = async (config: d.Config, compilerCtx: d.CompilerCtx, bu
try {
const treeshake: TreeshakingOptions | boolean = !config.devMode && config.rollupConfig.inputOptions.treeshake !== false
? {
unknownGlobalSideEffects: false,
propertyReadSideEffects: false,
tryCatchDeoptimization: false,
}
Expand Down

0 comments on commit 370636a

Please sign in to comment.