Skip to content

Commit

Permalink
Merge pull request #6 from bem/yarastqt.issue-5.fix-tree-shaking
Browse files Browse the repository at this point in the history
Add module and sideEffects for package.json
  • Loading branch information
yarastqt authored Aug 2, 2021
2 parents db1947b + d67b7b0 commit e86b504
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ module.exports = {
]),

usePackageJsonPlugin({
module: './esm/index.js',
scripts: {},
sideEffects: false,
}),
],
}

0 comments on commit e86b504

Please sign in to comment.