{"_id":"@async-module/bundle-plugin","_rev":"2-a2bbd0947a04ffb73d85a6b207189a10","name":"@async-module/bundle-plugin","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@async-module/bundle-plugin","version":"0.0.1","description":"generate an async module manifest entry","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/TimCN/async-module-bundle-plugin.git"},"keywords":[],"author":{"name":"tim.shanghai@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/TimCN/async-module-bundle-plugin/issues"},"homepage":"https://github.com/TimCN/async-module-bundle-plugin#readme","gitHead":"e43ae5f901ffffb566ae58d3124f791d8e803be2","_id":"@async-module/bundle-plugin@0.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-evbEF7UNnCKwTXdGu3AneLJFn4gvt9FA6zX76xw8aoPyQiMiYs1INCdMNop2TGSnQl56S4/PtO+PkQGhnKkoaQ==","shasum":"9232cc7c35a9d78f47c648883188f7f949ce3530","tarball":"https://registry.npmjs.org/@async-module/bundle-plugin/-/bundle-plugin-0.0.1.tgz","fileCount":4,"unpackedSize":10264,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeumrLCRA9TVsSAnZWagAAxEwP/31mgaQvHTl+OC3Sovhy\nonbCQyPXCI9B9WQ3gpNh/BLQxBBWe70PWeLvHLQHDHhPWTPOnE5N/XDo/C04\nl/+E8bjuCpFrgHOpbtdbesU0/6Zdxg4TMeQFvW9fsHJJUz1odQbcPiaBxpPj\nh5HuQA7KAXCgAvupY0iR0h/np8rs2b9o0pIPrzMs7GA3rwGIQ5N4zAb/6Lh8\nstyyW6dFOv6l6UbfA5hVzqZPZDlu9pkMJV85CVKg0v+C8cnBLOBt+Ru3R0eS\n2tFeDwDshUos4BPqeOFKp8jkoSps++k23icMzf3g0KcHW991om7vJj9+DomX\nUiovCDn1Rw+3KOsLTFzRdj3jd5HE1LIvK8ajW5GkZJThb1miiUp0EPrdpYZn\nUxBknqlWDzm37s9+QEiQXxv1G0ansTynB8JtuWKQkdvaYAZ/F4rJ2nAs/Pp0\nWZjQc2K/hi3ysbPRov0smeLzkNkJ+vsxcQ4wDWbzH5DL+e1y4wF3idgB5Ykt\nR+ZTn9XgjbR563RowouCwmXREs71y9wkbmxu591nNit275ajQHNYz0AwZ+pd\nJG7TP2kzsuH2F40NW1l/qz2qXJ2HNFMk3Pn+314WbLUXYhWFlRGPmbehcSAn\nrm8pBd5RgWYPO+gq5LCVYrdDtjSK0c6yob/czCzAhzodeaGOo5OMy++V006T\n/LlZ\r\n=kkCw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGU5CTXj61voExYHc0MZJxhOR5mP3aSCR/BuaPlAGGQIAiBxOdLyqeOGnEMj6l9jGW4B/vGXssYZNy64IJvzQkz0yw=="}]},"maintainers":[{"name":"tim-sh","email":"tim.shanghai@outlook.com"}],"_npmUser":{"name":"tim-sh","email":"tim.shanghai@outlook.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-plugin_0.0.1_1589275338575_0.1196541075226567"},"_hasShrinkwrap":false},"0.0.2":{"name":"@async-module/bundle-plugin","version":"0.0.2","description":"generate an async module manifest entry","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/TimCN/async-module-bundle-plugin.git"},"keywords":[],"author":{"name":"tim.shanghai@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/TimCN/async-module-bundle-plugin/issues"},"homepage":"https://github.com/TimCN/async-module-bundle-plugin#readme","gitHead":"1e96d7dc96e6b2df9777055b7dfd00d9bf01c3a5","_id":"@async-module/bundle-plugin@0.0.2","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-CltRyRQRFH1uFkQFSRoeWM0lZHHmTBmrf9wpIYWwklrfiPW/W31GqGHbq2r2XHGWDjkSu7r2xUbASPagSrJvdQ==","shasum":"849d30f6ebd0186587a1c401bda77f50fa8e1693","tarball":"https://registry.npmjs.org/@async-module/bundle-plugin/-/bundle-plugin-0.0.2.tgz","fileCount":4,"unpackedSize":10207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyy5DCRA9TVsSAnZWagAADIYQAJDM0APryPUrKUkq2TvM\nj12Bbpl7/UiHn3wbbdgDCLhZ141AgRT4jBJradgcLqVnCTnEeAbr4V33hRqB\nQYh6tDZcwpyIbdhRm+Fb6ZvvSbmJr5KCF94TRFpeh4w4ojSlFHkwFZVbJs/X\nbknFAkCmRuiyIH/7zHFEwiH7bfV1IzSYKds/MNWhDteX7VN43iqVSYa36fAG\nnprrBB8h6vuswYFrEtFzlTmA1rcXlZlpgfv6ibCLPrqmbYuEaOVwDqqMLsA2\nVbo3SkLUg7h3bhlKizUwmNoKXpqiKBcz8EkhjTMJoGQvvBfRw7BBo8U5zG0I\nj1jAUIPQbH/P086VPgu+vOjEUUE0WHm9hAFVqyjUazSqYmuaUBRkIzwN6Jp9\nKCndJG5P+BZEbMpQCW/ibtScMN4z7TYo+QpMwAZkvvxJosmxvXAD61O6iwWo\nZ8R/y+6Ul9xQm9wUy0/cAcX9lAoQkfq7ks2S0gF3NJ33kEu1/9aanzhVvyer\njSCN2poesRZdt6ad0VNJmxQgDKDBWhr0Akp/MD211I3zZ2Dq1+FWfhZt5MJW\n11pV3OZJcj/faUqr2roV3/0nJ8TjRfr2lIT6B1otMB1zzGY8702XWpQHHw3T\n3fU4oNzL7rezY9MmavFiTxUAuZhusjUZjdCN4X4QEEM37xBLZh+EdpMHr5Kx\n2eYb\r\n=JrJ0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBeps54irFgtcga5+8jhth30O0sB54CTvGdIlxs+kSKUAiAfHYAA09RYArfz81w/xMgIXdz6DorjVz7CJ+Fp1B4wkA=="}]},"maintainers":[{"name":"tim-sh","email":"tim.shanghai@outlook.com"}],"_npmUser":{"name":"tim-sh","email":"tim.shanghai@outlook.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-plugin_0.0.2_1590373955566_0.7340132260792667"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-12T09:22:18.291Z","0.0.1":"2020-05-12T09:22:18.758Z","modified":"2022-04-04T16:01:26.827Z","0.0.2":"2020-05-25T02:32:35.662Z"},"maintainers":[{"name":"tim-sh","email":"tim.shanghai@outlook.com"}],"description":"generate an async module manifest entry","homepage":"https://github.com/TimCN/async-module-bundle-plugin#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/TimCN/async-module-bundle-plugin.git"},"author":{"name":"tim.shanghai@outlook.com"},"bugs":{"url":"https://github.com/TimCN/async-module-bundle-plugin/issues"},"license":"MIT","readme":"# @async-module/bundle-plugin\nhelp the third lib bundle as an async module\n\n\n## get start\n\n### install\n```sh\nnpm install @async-module/bundle-plugin -D\n# or\nyarn add @async-module/bundle-plugin -D\n```\n\n### webpack config\n```js\nconst AsyncModulePlugin = require(\"@async-module/bundle-plugin\");\nconst path = require('path');\nmodule.exports = {\n   entry: {\n    \"common/module1\": './src/module1.js',\n    \"common/module2\": './src/module2.js',\n    \"common/module3\": './src/module3.js',\n  },\n   output: {\n    filename: '[name].[chunkhash:6].js',\n    path: path.resolve(__dirname, 'lib'),\n  },\n  plugins: [\n    new AsyncModulePlugin()\n  ]\n}\n```\n\n### result\n1. the `lib/index` is the async module manifest-runtime\n1. the other folder is the async module assets\n\n","readmeFilename":"README.md"}