microsoft / tslib

Runtime library for TypeScript helpers.
BSD Zero Clause License
1.26k stars 128 forks source link

side-effect-free package #63

Closed Tom910 closed 4 years ago

Tom910 commented 5 years ago

Added parameter sideEffects: false in packages.json, because webpack used this parameters for effective tree shaking - https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

theKashey commented 5 years ago

Corresponding webpack issue - https://github.com/Microsoft/TypeScript/issues/16999 Corresponding rollup issue - https://github.com/rollup/rollup-plugin-typescript/issues/139

DanielRosenwasser commented 4 years ago

Seems like this has already been done in #72.