Skip to content

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented May 6, 2020

Adding sideEffects: false helps webpack to tree-shake the user code includes vue-class-component.
https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

@ktsn ktsn merged commit 70ed762 into master May 6, 2020
@ktsn ktsn deleted the side-effect branch May 6, 2020 07:19
nevilm-lt pushed a commit to nevilm-lt/vue-class-component that referenced this pull request Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant