{"_id":"rollup-plugin-ts-treeshaking","_rev":"3-335689c9ab3b56c790047b80ba985233","name":"rollup-plugin-ts-treeshaking","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"rollup-plugin-ts-treeshaking","version":"1.0.0","description":"Improve TypeScript tree-shaking with Rollup and UglifyJS/Terser","author":{"name":"ex-machine"},"license":"MIT","homepage":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking#readme","repository":{"type":"git","url":"git+https://github.com/ex-machine/rollup-plugin-ts-treeshaking.git"},"bugs":{"url":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking/issues"},"keywords":["rollup","typescript","treeshaking","tree-shaking","uglify","minify"],"main":"index.js","scripts":{"lint":"eslint **/*.js","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"rollup-plugin-replace":"^2.1.0"},"devDependencies":{},"gitHead":"9558ef4552ad6429e77c973eb599e99ff5e0d8e8","_id":"rollup-plugin-ts-treeshaking@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ex-machine","email":"ex.machinability@gmail.com"},"dist":{"integrity":"sha512-t589R3RFk4FYZKxjFPf3mrvNoUO07f8AkWds+xstZauWNe39m3hK7AehEgbhFER3wA9eajRPrmg2wMrqXBPzTw==","shasum":"461fc59a2473cc18075b186331d91f2881c4fddf","tarball":"https://registry.npmjs.org/rollup-plugin-ts-treeshaking/-/rollup-plugin-ts-treeshaking-1.0.0.tgz","fileCount":4,"unpackedSize":3165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwwMQCRA9TVsSAnZWagAAUeAQAIhOV9jH0R4n3ulPd2Ip\nY2h7ko91dscaV/2fypcvAoyphPJQZ9L5RpFz0HrYBh6ehxjy8CxtmLy/gVnc\nA2ZdvHsc0ZmX52tRklgBhmeRCvpuM/+Logb7r835lUANL0BAKMg0wExFw+ub\nH9/caE+N46YQBFsG7s02QXGN+bQO3fytp5e2PRucGZOpIAnWnljetbRfm7YR\nwuMDbB4X/7gT7UOCMUbFUOn2sfv9Q5fyKdC3OzLBH1vcg0IYyo9RR6reGVl3\nOz0izO7cTpNJ1IUGMivdDeMeIt2pLdTq+XasSypbiGezOknkELX78r23jOa0\nLH+IQXK+xQENsI7VOXwmiHkwRimEzbh/jIigIRAISd1WZAreYb/HU+iT1C8g\nHTD9vMjGMmmgsbFqkzogxY6x4Q0QBEAQLNLQfagV8/n5Hw2whMdtd3w9yYpx\nbjCssCmwww1A7IDY1aXAyj/kK5//pp9YQMcD9PlQIRkDDPFac9VaIiygKlMK\n1sSJlxUSzN8Swuehv5kaCvN4dpTVEK8/Hi5xQ3m9+5zhD7zb5dXbDe3uE7ip\nfwSfl95SDhEtRJgNGA5tEhXCc090wmTzO5hl7Uwy0mlGMmHO5m+OQJRNyCaz\ne4+fPSg46QCAQSLPO1KNYhciXh8XuMgB+GxZ6WCeNHFMuI8hnBDto87PT8Jv\nMznh\r\n=AiJ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6Padt70u+tvmsxAKlLTscWdrZlWHQfrNZ/j9SjUpfEQIhAMjnMXK2Ss1iGz6uMmLkTL9A4f3mpzl7oAyc0ORFesEQ"}]},"maintainers":[{"name":"ex-machine","email":"ex.machinability@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-ts-treeshaking_1.0.0_1539506959731_0.21004221557875957"},"_hasShrinkwrap":false},"1.0.1":{"name":"rollup-plugin-ts-treeshaking","version":"1.0.1","description":"Improve TypeScript tree-shaking with Rollup and UglifyJS/Terser","author":{"name":"ex-machine"},"license":"MIT","homepage":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking#readme","repository":{"type":"git","url":"git+https://github.com/ex-machine/rollup-plugin-ts-treeshaking.git"},"bugs":{"url":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking/issues"},"keywords":["rollup","typescript","treeshaking","tree-shaking","uglify","minify"],"main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint **/*.js","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"rollup-plugin-replace":"^2.1.0"},"devDependencies":{},"gitHead":"9558ef4552ad6429e77c973eb599e99ff5e0d8e8","_id":"rollup-plugin-ts-treeshaking@1.0.1","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-SP0DTlP667mSeePvOYC/xaIokfqD1E+CaAOCr8yxjk0D1o30t1q8AoXhJhIHTjpfEsc5gO0T+ZwzTNWQaxMCcg==","shasum":"ba72d3f3d545b0e9f3db1443c590319e6a8fe092","tarball":"https://registry.npmjs.org/rollup-plugin-ts-treeshaking/-/rollup-plugin-ts-treeshaking-1.0.1.tgz","fileCount":5,"unpackedSize":3298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbmPoCRA9TVsSAnZWagAAv+UP/3huhbY6ZBQ8cB52E9Fp\n4GA2dO/bn4uPLWwFMCPyM5tGS27ZH+oVpolhxJ0EcLcuEqcF0KEB52RuZse9\nsdspW523yJW6CBmuyPDaplByIO8S97p0/Sw8jJyrfOUAfo02/vdo17SOQ+fT\ny9G7Hz2WSLt3ik+okT3Ma+yPfzMCG9odr2rJHjmYdwc16USVHj8ky0bnSpF4\nklpHOdTCik5scKQ2OZu+uxlZH/0YnDDk0xACWTKe+vPsJP5F1lsqkKN11ybt\nhPAisycThs5pPKcX7ljA5/D6lnUHvUBGUP8xbJvDjcqmhQazzspRqN77zwK0\nfHWcXWInd3y2Obbl+cd/FJhWOm6qep9jqxitlwya6YEGNfl5Vv8FxwUt+efW\ny1MyaWCaIuRlx3qcZHUmPdxfpbfTKvHgC8B5vATIb987ZaVOMTrGJ6qznju7\nH1+YOzMLuP54AQsPYlw0KWR1wxarQozAYGh/w2Y3ub4KfwS8QoUmk5WYSd75\njZ7Uiapc42tRZDNyFaNqofvXqZolMrDkQkZm2FjoZm9bC8P47+QekuQQOK9P\nmIUG8T8Nmt7opBLSwAIAVyNfQHsXnXV/uraM9xrZE7oarg8cPCXPGnwikKlj\nm7QOgYFwknJ33IyNqAmO1Zn7bh7yZZUDKCIQn4k1YI8phpL3YUWejVS2Gsxo\nFCtM\r\n=QLbC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDglsplZkUh3SUU0Bk92wdNuDA9xW5pHxUFb0jvUTYXAiEAy0kRFkiHlS3vNRvaoZAir1j4dnHUkfS97cOnvV/r0SY="}]},"maintainers":[{"name":"ex-machine","email":"ex.machinability@gmail.com"}],"_npmUser":{"name":"ex-machine","email":"ex.machinability@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-ts-treeshaking_1.0.1_1601070055919_0.192647057995746"},"_hasShrinkwrap":false},"1.0.2":{"name":"rollup-plugin-ts-treeshaking","version":"1.0.2","description":"Improve TypeScript tree-shaking with Rollup and UglifyJS/Terser","author":{"name":"ex-machine"},"license":"MIT","homepage":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking#readme","repository":{"type":"git","url":"git+https://github.com/ex-machine/rollup-plugin-ts-treeshaking.git"},"bugs":{"url":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking/issues"},"keywords":["rollup","typescript","treeshaking","tree-shaking","uglify","minify"],"main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint **/*.js","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"rollup-plugin-replace":"^2.1.0"},"devDependencies":{},"gitHead":"9558ef4552ad6429e77c973eb599e99ff5e0d8e8","_id":"rollup-plugin-ts-treeshaking@1.0.2","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-gFCLOMO9HX2X9CZPYZmeS0I4fP0KqyPAMHlzIfuqIjZYvdcWbiAY9Xza/1rZOAkFdMLhaAgsbS+yIgGxu7Ek7w==","shasum":"f5913528d95d70e5d9ae6f074ad744001421538e","tarball":"https://registry.npmjs.org/rollup-plugin-ts-treeshaking/-/rollup-plugin-ts-treeshaking-1.0.2.tgz","fileCount":5,"unpackedSize":3298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbmRNCRA9TVsSAnZWagAA1aYP/jXREpbf/LsIqXLbwPve\nQApoCqmKidvCwuDNbnJi8Ft80JLKV08MkX45QqZzG1qP8lPTWtfMWhonM78j\nh5frQSPuuQuPW1yYq8op/PzKqezHhr/gTxVh10hMzOk7OHH7q0A7dqxQrGYJ\nWlRE1DkIIiappoL//RuJVGTEgRvhd656Wk8Zm8FX+I6wesQux5B82NuvFgq2\n3iT8pAAeuCAV9CZHuwCUMjuLVB6kvg3ViMaQVLU8pp1m8Cl9V9yfnfuwuzrh\nEUnihgiP7YfrmInYtbHVUjkbSc0rPKQHMr6PdBU41uTPUsm9aB91gKeW2ra6\nnXcJJN2J501OMrPNTwBVS93x7IMAETzLwYTmy3voA6m9pLz/Xu2/yAXZMXnB\nE8tcYQX8A5PCVgEZ9ZdWPRj3m9DRB801q2+HTH4+69u8hDiWYxn4khBIbbg6\nfAkpf7gnv7yX/6UZeDSMYxFKbdTgTCB4J/sUIwLW8YLzpnQWynG54uOK3w27\n5k1MxZn0LwBn81BNzWfB6JpjhSfmsZNJJ6sKe9w9yesLjfqsZavjQe+6t22K\nw+jDUtfE/PH4yn0vGoKKwab8SYWxLnWMcDLRlUYGWpVtgl4lO5k77j8Mu8kx\n6N6BC/CHmRJbeDYh1Kw+q7YgVzbx3rR6Yh+bjl/4nfJwL76Y48QIPsCiLQuK\nchab\r\n=gkwN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJde6AFnoWZ/5kOJVxzkeLl84KZIYokOoRYPx39jUxSAiEAvhIx28WUe52ABl+O3orV+GCqB03gGg2iVcbgwQLPZ64="}]},"maintainers":[{"name":"ex-machine","email":"ex.machinability@gmail.com"}],"_npmUser":{"name":"ex-machine","email":"ex.machinability@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-ts-treeshaking_1.0.2_1601070157328_0.627925056190594"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-14T08:49:19.730Z","1.0.0":"2018-10-14T08:49:19.920Z","modified":"2022-05-16T04:41:43.072Z","1.0.1":"2020-09-25T21:40:56.038Z","1.0.2":"2020-09-25T21:42:37.506Z"},"maintainers":[{"name":"ex-machine","email":"ex.machinability@gmail.com"}],"description":"Improve TypeScript tree-shaking with Rollup and UglifyJS/Terser","homepage":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking#readme","keywords":["rollup","typescript","treeshaking","tree-shaking","uglify","minify"],"repository":{"type":"git","url":"git+https://github.com/ex-machine/rollup-plugin-ts-treeshaking.git"},"author":{"name":"ex-machine"},"bugs":{"url":"https://github.com/ex-machine/rollup-plugin-ts-treeshaking/issues"},"license":"MIT","readme":"# rollup-plugin-ts-treeshaking\n\nImprove TypeScript tree-shaking with Rollup and UglifyJS/Terser.\n\nUses `rollup-plugin-replace` to replace `/** @class */` annotations generated by TypeScript with `/*@__PURE__*/` that can be used by `uglifyjs`, `uglify-es` and `terser` for dead code elimination.\n\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n\n## Installation\n\n### NPM\n\n```\nnpm i -D rollup-plugin-ts-treeshaking\n```\n\n### Yarn\n\n```\nyarn add -D rollup-plugin-ts-treeshaking\n```\n\n## Usage\n\n```js\nimport typescript from 'rollup-plugin-typescript2';\nimport tsTreeshaking from 'rollup-plugin-ts-treeshaking';\n\nexport default {\n  plugins: [\n    typescript(),\n    tsTreeshaking(),\n    /* ... */\n  ],\n  /* ... */\n};\n```\n\n### Options\n\n#### js\n\nEnables processing of .js and .jsx files in addition to .ts and .tsx.\n\ntype: `boolean`  \ndefault: `true`\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}