Open marcopagliarulo opened 1 year ago
Webpack requires a package to declare itself as side effects free in order to tree-shake unused modules. https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
Common-tags looks actually sideEffect free, but the missing flag prevent a proper tree shake, please add the flag to package.jso
This is fixed in the fork proper-tags at https://github.com/hexagon/proper-tags published to npmjs.com/package/proper-tags and deno.land/x/proper_tags
proper-tags
Webpack requires a package to declare itself as side effects free in order to tree-shake unused modules. https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
Common-tags looks actually sideEffect free, but the missing flag prevent a proper tree shake, please add the flag to package.jso