{"_id":"@dtinsight/auto-polyfills-webpack-plugin","_rev":"10-112fd31bb03a2526a1c5ca076d2ebe86","name":"@dtinsight/auto-polyfills-webpack-plugin","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"@dtinsight/auto-polyfills-webpack-plugin","version":"2.0.0","author":{"name":"xbrave"},"license":"MIT","_id":"@dtinsight/auto-polyfills-webpack-plugin@2.0.0","maintainers":[{"name":"shuangxu","email":"fs1215fbb@126.com"},{"name":"jiming2603","email":"jiming2603@gmail.com"},{"name":"mortalyoung","email":"342731425@qq.com"},{"name":"liuxy0551","email":"liuxy0551@qq.com"},{"name":"ziv","email":"wewoor@gmail.com"},{"name":"mumiao","email":"1270865802zl@gmail.com"}],"dist":{"shasum":"35021ed1151a2b7e1602d51c6e8f3b8033e709ff","tarball":"https://registry.npmjs.org/@dtinsight/auto-polyfills-webpack-plugin/-/auto-polyfills-webpack-plugin-2.0.0.tgz","fileCount":8,"integrity":"sha512-xaLmbJL2E/bSgxQtGK7RX6w9GboKJ1Kkhzzfpbjmmg7xVRDcvfCLXls8nFuuIPF47omUglH/4Y/zZz6mN4pogA==","signatures":[{"sig":"MEUCIQC27mS14DuBOZRBs4w474dLPWXwgZGyDDU7SsLlEkG/iQIgQbmHE2j9GvCnnV0aTcQf61Ark41HCrsa8V9Yd1yvZKY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18915},"main":"lib/index.js","gitHead":"f0e99636edb495a6d63dd2008b11193f851d5bb8","scripts":{"build":"rm -rf lib && tsc","debug":"rm -rf lib && tsc --sourcemap -w","prepublishOnly":"rm -rf lib && tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"shuangxu","email":"fs1215fbb@126.com"},"_npmVersion":"8.5.0","description":"a webpack plugin for auto generate polyfills","directories":{},"_nodeVersion":"16.14.2","dependencies":{"terser":"^5.15.0","core-js-builder":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"peerDependencies":{"core-js":"^3","webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/auto-polyfills-webpack-plugin_2.0.0_1692599034400_0.39450981136525765","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@dtinsight/auto-polyfills-webpack-plugin","version":"2.0.1","author":{"name":"xbrave"},"license":"MIT","_id":"@dtinsight/auto-polyfills-webpack-plugin@2.0.1","maintainers":[{"name":"shuangxu","email":"fs1215fbb@126.com"},{"name":"jiming2603","email":"jiming2603@gmail.com"},{"name":"mortalyoung","email":"342731425@qq.com"},{"name":"liuxy0551","email":"liuxy0551@qq.com"},{"name":"ziv","email":"wewoor@gmail.com"},{"name":"mumiao","email":"1270865802zl@gmail.com"}],"dist":{"shasum":"ea4edf3fc8a666464047dac567dfcbc63b297c00","tarball":"https://registry.npmjs.org/@dtinsight/auto-polyfills-webpack-plugin/-/auto-polyfills-webpack-plugin-2.0.1.tgz","fileCount":8,"integrity":"sha512-YDVzrYcAVL68xmskQAQXqAqhFMAe3RNdAApvJQZm4OoHEZFQEH0F+JDVu8ooQLHr+zap5xfEAOA8uKjHfrgCxA==","signatures":[{"sig":"MEUCIQCKvuQFsXBxZKMht1tP9+XfdGsp9itWXMXAJSkT65K5ZgIgdAxWQtFObaF5NTwv62mQtx2L/pBX7hE1ENi1+MMhT5I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18755},"main":"lib/index.js","gitHead":"b053fd35b70cd75b45230c92f985b746e6a4ec38","scripts":{"build":"rm -rf lib && tsc","debug":"rm -rf lib && tsc --sourcemap -w","prepublishOnly":"rm -rf lib && tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"shuangxu","email":"fs1215fbb@126.com"},"_npmVersion":"8.5.0","description":"a webpack plugin for auto generate polyfills","directories":{},"_nodeVersion":"16.14.2","dependencies":{"terser":"^5.15.0","core-js-builder":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"peerDependencies":{"core-js":"^3","webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/auto-polyfills-webpack-plugin_2.0.1_1692760304774_0.06495499665504134","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@dtinsight/auto-polyfills-webpack-plugin","version":"2.0.2","author":{"name":"xbrave"},"license":"MIT","_id":"@dtinsight/auto-polyfills-webpack-plugin@2.0.2","maintainers":[{"name":"shuangxu","email":"fs1215fbb@126.com"},{"name":"jiming2603","email":"jiming2603@gmail.com"},{"name":"mortalyoung","email":"342731425@qq.com"},{"name":"liuxy0551","email":"liuxy0551@qq.com"},{"name":"ziv","email":"wewoor@gmail.com"},{"name":"mumiao","email":"1270865802zl@gmail.com"}],"dist":{"shasum":"98af0e55ac545e654e14bf5f680f4c7c6cb4330e","tarball":"https://registry.npmjs.org/@dtinsight/auto-polyfills-webpack-plugin/-/auto-polyfills-webpack-plugin-2.0.2.tgz","fileCount":8,"integrity":"sha512-LL609XEwlenSEAr0rQFpLGX2QkvcJa06sDKZ+gqX3jUVyb67JafUGbsHUHd6KOybn/QeFpN8MHfNe4quNFq9Nw==","signatures":[{"sig":"MEYCIQD0q9yOb+etZyAvIPDtwwELLEz3LoMUM4oeGvu5FcEM6AIhAMUvPKn0u9rUsn7wSlhvn6/eaLrb3/1B2cyA3/5lMBfc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19003},"main":"lib/index.js","gitHead":"65eabfde8cfa8254dd462cb0a6edbb8402df5369","scripts":{"build":"rm -rf lib && tsc","debug":"rm -rf lib && tsc --sourcemap -w","prepublishOnly":"rm -rf lib && tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"shuangxu","email":"fs1215fbb@126.com"},"_npmVersion":"8.5.0","description":"a webpack plugin for auto generate polyfills","directories":{},"_nodeVersion":"16.14.2","dependencies":{"terser":"^5.15.0","core-js-builder":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"peerDependencies":{"core-js":"^3","webpack":"^5.72.1","html-webpack-plugin":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/auto-polyfills-webpack-plugin_2.0.2_1692761651935_0.4065388108933934","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-08-21T06:23:54.309Z","modified":"2026-05-29T04:23:29.107Z","2.0.0":"2023-08-21T06:23:54.614Z","2.0.1":"2023-08-23T03:11:45.001Z","2.0.2":"2023-08-23T03:34:12.111Z"},"author":{"name":"xbrave"},"license":"MIT","description":"a webpack plugin for auto generate polyfills","maintainers":[{"email":"wewoor@gmail.com","name":"ziv"},{"email":"1270865802zl@gmail.com","name":"mumiao"},{"email":"342731425@qq.com","name":"mortalyoung"},{"email":"jiming2603@gmail.com","name":"jiming2603"},{"email":"2522134117@qq.com","name":"wxh_jialan"},{"email":"fs1215fbb@126.com","name":"shuangxu"},{"email":"942725119@qq.com","name":"jlf_wenchang"},{"email":"shiqiharbin@163.com","name":"bell_008"},{"email":"zwight0705@gmail.com","name":"zwight"}],"readme":"A webpack plugin for auto import polyfills using core-js custom build, you can combine it with esbuild-loader because esbuild-loader don't do auto polyfills\n\n## Getting Started\n1. Install as devDependencies:\n``` bash\npnpm install @dtinsight/auto-polyfills-webpack-plugin -D\n```\n\n2. then add it into webpack plugins config:\n\n```js\nconfig.plugins.push(\n      new AutoPolyfillsWebpackPlugin();\n    );\n```\n\nand a minified file will be generated in project root (or custom with option cwd), then you should commit it for reused.\n\n## Options\n\n```ts\ntype IOpts = {\n    cwd?: string; // cwd, default value is `process.cwd()`\n    browserslistPath?: string; // default value is .browserslistrc in root directory\n    hashType?: string; // crypto type, default value is md5\n    customPrefix?: string; //custom polyfill prefix, default value is 'dt'\n    excludeCoreJsModules?: string[]; //exclude core-js modules.\n};\n```","readmeFilename":"README.md"}