Skip to content

Commit

Permalink
fix: preserve property read side effects during tree shaking (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghatchue authored Dec 19, 2022
1 parent af5afff commit d9dd95a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tsdx.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
rollup: (config, options) => ({
...config,
...{
// Preserve property read side effects during tree shaking
treeshake: {propertyReadSideEffects: true},
},
}),
};

0 comments on commit d9dd95a

Please sign in to comment.