Skip to content

Commit

Permalink
docs: clarify effect of propertyReadSideEffects (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncphillips authored and jaredpalmer committed Oct 24, 2019
1 parent 0a7a469 commit 5becff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export function createRollupConfig(opts: TsdxOptions) {
// Rollup has treeshaking by default, but we can optimize it further...
treeshake: {
// We assume reading a property of an object never has side-effects.
// This means tsdx WILL remove getters and setters on objects.
// This means tsdx WILL remove getters and setters defined directly on objects.
// Any getters or setters defined on classes will not be effected.
//
// @example
//
Expand Down

0 comments on commit 5becff1

Please sign in to comment.