Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
build: remove unused variables from build
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Apr 25, 2021
1 parent 7737e54 commit fe4c134
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const prefsFooter = [
export default [
{
input: 'src/extension.ts',
treeshake: {
moduleSideEffects: 'no-external'
},
output: {
file: `${buildPath}/extension.js`,
format: 'iife',
Expand Down Expand Up @@ -72,6 +75,9 @@ export default [
footer: prefsFooter,
globals,
},
treeshake: {
moduleSideEffects: 'no-external'
},
external,
plugins: [
commonjs(),
Expand Down

0 comments on commit fe4c134

Please sign in to comment.