{"_id":"esbuild-webpack-plugin","_rev":"1736121","name":"esbuild-webpack-plugin","description":"Use esbuild as minifier.","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"sorrycc","email":""}],"time":{"modified":"2021-11-29T01:32:50.000Z","created":"2020-05-07T09:29:29.312Z","1.1.0":"2020-10-19T02:32:24.726Z","1.0.5":"2020-07-29T03:32:27.633Z","1.0.4":"2020-07-27T02:15:50.207Z","1.0.3":"2020-07-14T03:52:25.208Z","1.0.2":"2020-07-08T06:25:21.408Z","1.0.0":"2020-05-27T06:39:55.724Z","1.0.0-beta.5":"2020-05-27T06:06:18.155Z","1.0.0-beta.4":"2020-05-14T08:40:21.091Z","1.0.0-beta.3":"2020-05-07T09:29:29.312Z"},"users":{},"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"versions":{"1.1.0":{"name":"esbuild-webpack-plugin","version":"1.1.0","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:test":"APP_ROOT=test/fixtures/normal umi build","test":"umi-test","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.7.15"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.13","@types/jest":"^26.0.4","@types/node":"^14.0.23","@types/webpack":"^4.41.21","@umijs/test":"^3.2.9","antd":"^4.4.2","bizcharts":"^4.0.9","lint-staged":"^10.2.11","np":"^6.3.2","prettier":"^2.0.5","puppeteer":"^5.1.0","serve-handler":"^6.1.3","typescript":"^3.9.6","umi":"^3.2.9","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"399783048b4a604aa3199bbca200979655ab266a","_id":"esbuild-webpack-plugin@1.1.0","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"dcf0971284bf3c174fdb27832209a59f2079075b","size":3356,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.1.0_1603074744451_0.35509064502047205"},"_hasShrinkwrap":false,"publish_time":1603074744726,"_cnpm_publish_time":1603074744726},"1.0.5":{"name":"esbuild-webpack-plugin","version":"1.0.5","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:test":"APP_ROOT=test/fixtures/normal umi build","test":"umi-test","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.6.8"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.13","@types/jest":"^26.0.4","@types/node":"^14.0.23","@types/webpack":"^4.41.21","@umijs/test":"^3.2.9","antd":"^4.4.2","bizcharts":"^4.0.9","lint-staged":"^10.2.11","np":"^6.3.2","prettier":"^2.0.5","puppeteer":"^5.1.0","serve-handler":"^6.1.3","typescript":"^3.9.6","umi":"^3.2.9","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"bd2d6bc3fcd3f17a5da92731aab2c6fb19925dc7","_id":"esbuild-webpack-plugin@1.0.5","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"68a6a377a84c991da1a0fc302830f514c9d47472","size":3187,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.5.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.5_1595993547542_0.2814336331737126"},"_hasShrinkwrap":false,"publish_time":1595993547633,"_cnpm_publish_time":1595993547633},"1.0.4":{"name":"esbuild-webpack-plugin","version":"1.0.4","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:test":"APP_ROOT=test/fixtures/normal umi build","test":"umi-test","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"0.6.5"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.13","@types/jest":"^26.0.4","@types/node":"^14.0.23","@types/webpack":"^4.41.21","@umijs/test":"^3.2.9","antd":"^4.4.2","bizcharts":"^4.0.9","lint-staged":"^10.2.11","np":"^6.3.2","prettier":"^2.0.5","puppeteer":"^5.1.0","serve-handler":"^6.1.3","typescript":"^3.9.6","umi":"^3.2.9","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"283f09051e7873febf9755ef5078a3088e87b55f","_id":"esbuild-webpack-plugin@1.0.4","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"a55db87a4aafca065f8522fb3ce981bfd76b5e45","size":3189,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.4.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.4_1595816150090_0.16459774017012752"},"_hasShrinkwrap":false,"publish_time":1595816150207,"_cnpm_publish_time":1595816150207},"1.0.3":{"name":"esbuild-webpack-plugin","version":"1.0.3","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:test":"APP_ROOT=test/fixtures/normal umi build","test":"umi-test","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.6.2"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.13","@types/jest":"^26.0.4","@types/node":"^14.0.23","@types/webpack":"^4.41.21","@umijs/test":"^3.2.9","antd":"^4.4.2","bizcharts":"^4.0.9","lint-staged":"^10.2.11","np":"^6.3.2","prettier":"^2.0.5","puppeteer":"^5.1.0","serve-handler":"^6.1.3","typescript":"^3.9.6","umi":"^3.2.9","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"91b2c5cae4e4879c52a7e338b48d364990946cb6","_id":"esbuild-webpack-plugin@1.0.3","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"0757bbb34e356ce329d80400ce4a2c408c3a8a07","size":3187,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.3.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.3_1594698745096_0.7428856295521393"},"_hasShrinkwrap":false,"publish_time":1594698745208,"_cnpm_publish_time":1594698745208},"1.0.2":{"name":"esbuild-webpack-plugin","version":"1.0.2","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:test":"APP_ROOT=test/fixtures/normal umi build","test":"umi-test","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.5.25"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.11","@types/jest":"^26.0.4","@types/node":"^14.0.18","@types/webpack":"^4.41.12","@umijs/test":"^3.2.8","antd":"^4.2.0","bizcharts":"^4.0.2","lint-staged":"^10.2.1","np":"^6.2.3","prettier":"^2.0.5","puppeteer":"^5.0.0","serve-handler":"^6.1.3","typescript":"^3.8.3","umi":"^3.1.4","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"b773aa1e90d7862f4704a11fcae5792f0b29a552","_id":"esbuild-webpack-plugin@1.0.2","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"48113d23ed1f848bab47c17574e1714ec8908cbb","size":3103,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.2.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.2_1594189521279_0.019394097996812354"},"_hasShrinkwrap":false,"publish_time":1594189521408,"_cnpm_publish_time":1594189521408},"1.0.0":{"name":"esbuild-webpack-plugin","version":"1.0.0","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.4.0"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.11","@types/webpack":"^4.41.12","antd":"^4.2.0","bizcharts":"^4.0.2","lint-staged":"^10.2.1","np":"^6.2.3","prettier":"^2.0.5","typescript":"^3.8.3","umi":"^3.1.4","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"d73bdace29e82a15941f86d56ecf067670de60eb","_id":"esbuild-webpack-plugin@1.0.0","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"3f8c23c915e83db78989c8d399a2763d7f28a003","size":3014,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.0.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.0_1590561595537_0.6120189909792104"},"_hasShrinkwrap":false,"publish_time":1590561595724,"_cnpm_publish_time":1590561595724},"1.0.0-beta.5":{"name":"esbuild-webpack-plugin","version":"1.0.0-beta.5","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","prepublishOnly":"npm run build && np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.4.0"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.11","@types/webpack":"^4.41.12","antd":"^4.2.0","bizcharts":"^4.0.2","lint-staged":"^10.2.1","np":"^6.2.3","prettier":"^2.0.5","typescript":"^3.8.3","umi":"^3.1.4","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"0ebd3f48930387d56c76742273954cd812322d63","_id":"esbuild-webpack-plugin@1.0.0-beta.5","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"7880063f5178567571a5c4b9204c7348423880ac","size":2927,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.0-beta.5.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.0-beta.5_1590559578026_0.6248652777826473"},"_hasShrinkwrap":false,"publish_time":1590559578155,"_cnpm_publish_time":1590559578155},"1.0.0-beta.4":{"name":"esbuild-webpack-plugin","version":"1.0.0-beta.4","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","prepublishOnly":"np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.2.3"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.11","@types/webpack":"^4.41.12","antd":"^4.2.0","bizcharts":"^4.0.2","lint-staged":"^10.2.1","np":"^6.2.3","prettier":"^2.0.5","typescript":"^3.8.3","umi":"^3.1.4","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"5183b45a686ddb9cb6edffd2871a38785d5487c9","_id":"esbuild-webpack-plugin@1.0.0-beta.4","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"2a678c2a10ef1986c5a2a40f10ef75ca3d2ad13b","size":2344,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.0-beta.4.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.0-beta.4_1589445620970_0.17360639388817223"},"_hasShrinkwrap":false,"publish_time":1589445621091,"_cnpm_publish_time":1589445621091},"1.0.0-beta.3":{"name":"esbuild-webpack-plugin","version":"1.0.0-beta.3","description":"Use esbuild as minifier.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"tsc -w --p src","build":"rm -rf dist && tsc -p src","build:example":"APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:esbuild":"ESBUILD=1 APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","build:example:nocompress":"COMPRESS=none APP_ROOT=example BABEL_CACHE=none TERSER_CACHE=none umi build","prepublishOnly":"np --no-cleanup --yolo --no-publish"},"keywords":[],"author":{"name":"chencheng","email":"sorrycc@gmail.com"},"license":"MIT","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"esbuild":"^0.2.3"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["prettier --write"],"*.ts":["prettier --parser=typescript --write"]},"devDependencies":{"@types/babel__traverse":"^7.0.11","@types/webpack":"^4.41.12","antd":"^4.2.0","bizcharts":"^4.0.2","lint-staged":"^10.2.1","np":"^6.2.3","prettier":"^2.0.5","typescript":"^3.8.3","umi":"^3.1.3","webpack":"^4.43.0","webpack-sources":"^1.4.3","yorkie":"^2.0.0"},"gitHead":"a781f05ef9055b65afde5c900739b2d545bb99c8","_id":"esbuild-webpack-plugin@1.0.0-beta.3","_nodeVersion":"10.13.0","_npmVersion":"6.13.3","dist":{"shasum":"528baa7b0ab314000a48da94b8a52833f8e64288","size":2341,"noattachment":false,"key":"/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/esbuild-webpack-plugin/download/esbuild-webpack-plugin-1.0.0-beta.3.tgz"},"maintainers":[{"name":"sorrycc","email":""}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-webpack-plugin_1.0.0-beta.3_1588843769138_0.7632098343856282"},"_hasShrinkwrap":false,"publish_time":1588843769312,"_cnpm_publish_time":1588843769312}},"readme":"# esbuild-webpack-plugin\n\nUse [esbuild](https://github.com/evanw/esbuild) as minifier for webpack.\n\n## Why is this package?\n\n[彻底告别编译 OOM，用 esbuild 做压缩器](https://zhuanlan.zhihu.com/p/139219361)。\n\n## Install\n\n```bash\n$ yarn add esbuild-webpack-plugin --dev\n```\n\n## Webpack config\n\n```js\nconst ESBuildPlugin = require('esbuild-webpack-plugin').default;\n\nmodule.exports = {\n  optimization: {\n    minimizer: [\n      new ESBuildPlugin(),\n      /**\n       * Or customize ESBuild options like below:\n       *\n       * new ESBuildPlugin({target: \"es5\"}),\n       *\n       * For details, please refer: https://github.com/evanw/esbuild\n       */\n    ],\n  },\n};\n```\n\n## Test\n\n```shell script\n# Get prepared\n$ yarn && yarn build\n\n# Minify with terser\n$ yarn build:example\n\n# Minify with esbuild\n$ yarn build:example:esbuild\n\n# Do not minify\n$ yarn build:example:nocompress\n```\n\n## LICENSE\n\nMIT\n","_attachments":{},"license":"MIT"}