{"versions":{"0.5.6":{"name":"bundle-loader","version":"0.5.6","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","license":"MIT","main":"index.js","files":["index.js"],"engines":{"node":">= 4"},"scripts":{"release":"standard-version"},"dependencies":{"loader-utils":"^1.1.0"},"devDependencies":{"standard-version":"^4.0.0"},"repository":{"type":"git","url":"git+https://github.com/webpack-contrib/bundle-loader.git"},"bugs":{"url":"https://github.com/webpack-contrib/bundle-loader/issues"},"homepage":"https://webpack.js.org/loaders/bundle-loader","gitHead":"8597dd4151ecdd1e275f40879b92d830b77a3487","_id":"bundle-loader@0.5.6","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"anonymous","email":"michael.ciniawsky@gmail.com"},"dist":{"shasum":"6c9042e62f1c89941458805a3a479d10f34c71fd","size":3765,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.6.tgz","integrity":"sha512-SUgX+u/LJzlJiuoIghuubZ66eflehnjmqSfh/ib9DTe08sxRJ5F/MhHSjp7GfSJivSp8NWgez4PVNAUuMg7vSg=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-loader-0.5.6.tgz_1517826700560_0.5104169617407024"},"directories":{},"publish_time":1517826701446,"_hasShrinkwrap":false,"_cnpm_publish_time":1517826701446,"_cnpmcore_publish_time":"2021-12-16T10:03:09.619Z","contributors":[]},"0.5.5":{"name":"bundle-loader","version":"0.5.5","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"^1.0.2"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repository":{"type":"git","url":"git://github.com/webpack/bundle-loader.git"},"gitHead":"f83e15e7466e864bef25cdffd17fa0c8c3b87025","bugs":{"url":"https://github.com/webpack/bundle-loader/issues"},"homepage":"https://github.com/webpack/bundle-loader#readme","_id":"bundle-loader@0.5.5","scripts":{},"_shasum":"11fd7b08edf86a1d708efcb1eca62ca51f6c368a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"anonymous","email":"wiens.joshua@gmail.com"},"dist":{"shasum":"11fd7b08edf86a1d708efcb1eca62ca51f6c368a","size":2676,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.5.tgz","integrity":"sha512-EfgtAT4zvbY/asjBtnj7aK/6BASP0wu1kuIRu5s/r9ePme0mXokRjAO9JJ300bTyfXY0T6uFHDYJmHagVZLA4g=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/bundle-loader-0.5.5.tgz_1487990787612_0.25682357302866876"},"directories":{},"publish_time":1487990788227,"_hasShrinkwrap":false,"_cnpm_publish_time":1487990788227,"_cnpmcore_publish_time":"2021-12-16T10:03:09.861Z","contributors":[]},"0.5.4":{"name":"bundle-loader","version":"0.5.4","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repository":{"type":"git","url":"git://github.com/webpack/bundle-loader.git"},"gitHead":"1e4d2a4875afe64901e098aeae4f9bda46c0eec0","bugs":{"url":"https://github.com/webpack/bundle-loader/issues"},"homepage":"https://github.com/webpack/bundle-loader","_id":"bundle-loader@0.5.4","scripts":{},"_shasum":"07c38ee906e0a0e700fd476a21834701ea7066f3","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"dist":{"shasum":"07c38ee906e0a0e700fd476a21834701ea7066f3","size":1448,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.4.tgz","integrity":"sha512-3EkIPUPQM2dYSMNq6noq/ZfZs+a9wkMJ4xr11iHd8DmPexUuTijs039gwtE0pAutpCDuIENJCxjKDtFsFmk0dA=="},"directories":{},"publish_time":1428614631010,"_hasShrinkwrap":false,"_cnpm_publish_time":1428614631010,"_cnpmcore_publish_time":"2021-12-16T10:03:10.082Z","contributors":[]},"0.5.3":{"name":"bundle-loader","version":"0.5.3","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repository":{"type":"git","url":"git://github.com/webpack/bundle-loader.git"},"gitHead":"6d0d2b77f0d7623920565e3b6f505ae24c0bedcc","bugs":{"url":"https://github.com/webpack/bundle-loader/issues"},"homepage":"https://github.com/webpack/bundle-loader","_id":"bundle-loader@0.5.3","scripts":{},"_shasum":"3cefd0ad206455f3ef140e38d291900d21ec3627","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"dist":{"shasum":"3cefd0ad206455f3ef140e38d291900d21ec3627","size":1347,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.3.tgz","integrity":"sha512-xpNuiN+6ku/3Bdhq/aBzXqZUltBv8qt8KapNyOecPLq6oOmEwHJDCNMl2kuLFWi8SBW8tLA6BiD01u5kJEyF4Q=="},"directories":{},"publish_time":1421864995853,"_hasShrinkwrap":false,"_cnpm_publish_time":1421864995853,"_cnpmcore_publish_time":"2021-12-16T10:03:10.343Z","contributors":[]},"0.5.2":{"name":"bundle-loader","version":"0.5.2","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repository":{"type":"git","url":"git://github.com/webpack/bundle-loader.git"},"gitHead":"305cad672e99c8836c3a8783c7a3c51bf670eabd","bugs":{"url":"https://github.com/webpack/bundle-loader/issues"},"homepage":"https://github.com/webpack/bundle-loader","_id":"bundle-loader@0.5.2","scripts":{},"_shasum":"cc82c4cba517fd4b484a0ef2082daf998ba59ead","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"dist":{"shasum":"cc82c4cba517fd4b484a0ef2082daf998ba59ead","size":1349,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.2.tgz","integrity":"sha512-uJJTLn2pb24BiVADQnUCaLRydmR2X5TtwCG1rIhCFrM9npdxcRP5s+vI8xT/u4NcmbYIfbcPqojjoeLqmYaXVw=="},"directories":{},"publish_time":1414756570241,"_hasShrinkwrap":false,"_cnpm_publish_time":1414756570241,"_cnpmcore_publish_time":"2021-12-16T10:03:10.535Z","contributors":[]},"0.5.1":{"name":"bundle-loader","version":"0.5.1","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repository":{"type":"git","url":"git://github.com/webpack/bundle-loader.git"},"gitHead":"68e398ecc99dfa94abcd4fe032967263a229c278","bugs":{"url":"https://github.com/webpack/bundle-loader/issues"},"homepage":"https://github.com/webpack/bundle-loader","_id":"bundle-loader@0.5.1","scripts":{},"_shasum":"1459481391fe83eb22e770cb7635fef61fe498ce","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"dist":{"shasum":"1459481391fe83eb22e770cb7635fef61fe498ce","size":1229,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.1.tgz","integrity":"sha512-JRW+5on+MuXsKuNUV1IyQjDmjPHS09H0NKyUI8OgjeW86MHH0suPUhjn7a2Z2ui4LJLwmp4GiDc2IX1lfrjSsg=="},"directories":{},"publish_time":1412692468104,"_hasShrinkwrap":false,"_cnpm_publish_time":1412692468104,"_cnpmcore_publish_time":"2021-12-16T10:03:10.757Z","contributors":[]},"0.5.0":{"name":"bundle-loader","version":"0.5.0","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"bundle-loader@0.5.0","dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.5.0.tgz","shasum":"01e59f633ca51eb6dd9a8cc48e110f93ec6eba0d","size":1050,"noattachment":false,"integrity":"sha512-KHVKor4spRs5bqgJvUEMO/S1LNTaJte3vXybjhp36kOdCfakHwxle+dpsuCicDJtniTN2HEPa3a1jIHWS0tm0Q=="},"_npmVersion":"1.1.59","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1359704720462,"_hasShrinkwrap":false,"_cnpm_publish_time":1359704720462,"_cnpmcore_publish_time":"2021-12-16T10:03:10.970Z","contributors":[]},"0.3.0":{"name":"bundle-loader","version":"0.3.0","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","dependencies":{"loader-utils":"0.1.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_id":"bundle-loader@0.3.0","dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.3.0.tgz","shasum":"2ec8ffe0c36d08129e01011bcd0ee8a50a5c5b11","size":1171,"noattachment":false,"integrity":"sha512-MaBPy1zrUhCs/IIsL+bPTF6ukCOjHJjx7zfvjwmkOFyolOlw/ijqlGA/HbtrBGnZs7r87xoycmROwSeL3NLFgw=="},"_npmVersion":"1.1.59","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1351847345265,"_hasShrinkwrap":false,"_cnpm_publish_time":1351847345265,"_cnpmcore_publish_time":"2021-12-16T10:03:11.164Z","contributors":[]},"0.2.0":{"name":"bundle-loader","version":"0.2.0","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_id":"bundle-loader@0.2.0","dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.2.0.tgz","shasum":"e9ab847952d107c060a51acfb0874cd41f8a9eb3","size":1043,"noattachment":false,"integrity":"sha512-mPmr371eunrFYWh6hnVtqf9LiXvwW6g+k5ecCv09FSE3etJlnbtCuTuIIBnh8X+EBn1397UFoUKw+9ZIinN5jg=="},"_npmVersion":"1.1.59","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1348584853097,"_hasShrinkwrap":false,"_cnpm_publish_time":1348584853097,"_cnpmcore_publish_time":"2021-12-16T10:03:11.366Z","contributors":[]},"0.1.3":{"name":"bundle-loader","version":"0.1.3","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"_id":"bundle-loader@0.1.3","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.1.3.tgz","shasum":"a184798d9d845369b42670fd3957b5dd07cf03c8","size":1026,"noattachment":false,"integrity":"sha512-3eUXRYO0sNZT91ErCPUT9U2oBMc+A42w5E5Kin//jqn+0CG6v6bq1XYn8L8e3Sfn37AfXL2vDI3BJgByYqtvVg=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1340622556699,"_hasShrinkwrap":false,"_cnpm_publish_time":1340622556699,"_cnpmcore_publish_time":"2021-12-16T10:03:11.583Z","contributors":[]},"0.1.2":{"name":"bundle-loader","version":"0.1.2","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"_id":"bundle-loader@0.1.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.1.2.tgz","shasum":"2303e85645c221ec8a558b6d096efeeb2e592b52","size":899,"noattachment":false,"integrity":"sha512-ag4oeS8xi3Edu2Ty4eOp3PdcRZXzC4OC+SmuJfMat6ByvJbTby/cmMzmr7shA9Jxcxb0MNOCdyDsNNjiExZslw=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1337551026823,"_hasShrinkwrap":false,"_cnpm_publish_time":1337551026823,"_cnpmcore_publish_time":"2021-12-16T10:03:11.832Z","contributors":[]},"0.1.1":{"name":"bundle-loader","version":"0.1.1","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"_id":"bundle-loader@0.1.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.1.1.tgz","shasum":"b421250d0d6849f1c4e1e244aae346fcfe4d7672","size":873,"noattachment":false,"integrity":"sha512-EM8svlGu8wL0+vlrNyXF6TcwpfsRaWzfq9j6sf6BKKZhsU3qV4Sv/651vsnGgCr0gqK/nv30XVw9AEFZ63G9XQ=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1336237260567,"_hasShrinkwrap":false,"_cnpm_publish_time":1336237260567,"_cnpmcore_publish_time":"2021-12-16T10:03:12.026Z","contributors":[]},"0.1.0":{"name":"bundle-loader","version":"0.1.0","author":{"name":"Tobias Koppers @sokra"},"description":"bundle loader module for webpack","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_npmUser":{"name":"anonymous","email":"tobias.koppers@googlemail.com"},"_id":"bundle-loader@0.1.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bundle-loader/-/bundle-loader-0.1.0.tgz","shasum":"0b15a6319db0b7df94e07138b0773cb7a0933e11","size":872,"noattachment":false,"integrity":"sha512-7yOu/n1tvgAsJK2h9fnEuhfmg5raY5XAWCMOPTDDqgCWa7+EHMHMouBIA53L+xiZDfOohDcGiZMIr+qQIvW/Jg=="},"maintainers":[{"name":"anonymous","email":"bebraw@gmail.com"},{"name":"anonymous","email":"eric@smarterspam.com"},{"name":"anonymous","email":"mail@johannesewald.de"}],"directories":{},"publish_time":1336142186098,"_hasShrinkwrap":false,"_cnpm_publish_time":1336142186098,"_cnpmcore_publish_time":"2021-12-16T10:03:12.282Z","contributors":[]}},"dist-tags":{"latest":"0.5.6"},"name":"bundle-loader","time":{"created":"2022-01-26T15:06:32.821Z","modified":"2025-12-07T06:24:48.462Z","0.5.6":"2018-02-05T10:31:41.446Z","0.5.5":"2017-02-25T02:46:28.227Z","0.5.4":"2015-04-09T21:23:51.010Z","0.5.3":"2015-01-21T18:29:55.853Z","0.5.2":"2014-10-31T11:56:10.241Z","0.5.1":"2014-10-07T14:34:28.104Z","0.5.0":"2013-02-01T07:45:20.462Z","0.3.0":"2012-11-02T09:09:05.265Z","0.2.0":"2012-09-25T14:54:13.097Z","0.1.3":"2012-06-25T11:09:16.699Z","0.1.2":"2012-05-20T21:57:06.823Z","0.1.1":"2012-05-05T17:01:00.567Z","0.1.0":"2012-05-04T14:36:26.098Z"},"readme":"[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n\n<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\"\n      src=\"https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg\">\n  </a>\n  <h1>Bundle Loader</h1>\n  <p>Bundle loader for webpack<p>\n</div>\n\n<h2 align=\"center\">Install</h2>\n\n```bash\nnpm i bundle-loader --save\n```\n\n<h2 align=\"center\"><a href=\"https://webpack.js.org/concepts/loaders\">Usage</a></h2>\n\n**webpack.config.js**\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.bundle\\.js$/,\n        use: 'bundle-loader'\n      }\n    ]\n  }\n}\n```\n\nThe chunk is requested, when you require the bundle.\n\n**file.js**\n```js\nimport bundle from './file.bundle.js';\n```\n\nTo wait until the chunk is available (and get the exports)\nyou need to async wait for it.\n\n```js\nbundle((file) => {\n  // use the file like it was required\n  const file = require('./file.js')\n});\n```\n\nThis wraps the `require('file.js')` in a `require.ensure` block\n\nMultiple callbacks can be added. They will be executed in the order of addition.\n\n```js\nbundle(callbackTwo)\nbundle(callbackThree)\n```\n\nIf a callback is added after dependencies were loaded, it will be called immediately.\n\n<h2 align=\"center\">Options</h2>\n\n|Name|Type|Default|Description|\n|:--:|:--:|:-----:|:----------|\n|**`lazy`**|`{Boolean}`|`false`|Loads the imported bundle asynchronously|\n|**`name`**|`{String}`|`[id].[name]`|Configure a custom filename for your imported bundle|\n\n### `lazy`\n\nThe file is requested when you require the `bundle-loader`. If you want it to request it lazy, use:\n\n**webpack.config.js**\n```js\n{\n  loader: 'bundle-loader',\n  options: {\n    lazy: true\n  }\n}\n```\n\n```js\nimport bundle from './file.bundle.js'\n\nbundle((file) => {...})\n```\n\n> ℹ️  The chunk is not requested until you call the load function\n\n### `name`\n\nYou may set name for a bundle using the `name` options parameter.\nSee [documentation](https://github.com/webpack/loader-utils#interpolatename).\n\n**webpack.config.js**\n```js\n{\n  loader: 'bundle-loader',\n  options: {\n    name: '[name]'\n  }\n}\n```\n\n> :warning: chunks created by the loader will be named according to the\n[`output.chunkFilename`](https://webpack.js.org/configuration/output/#output-chunkfilename) rule, which defaults to `[id].[name]`. Here `[name]` corresponds to the chunk name set in the `name` options parameter.\n\n<h2 align=\"center\">Examples</h2>\n\n```js\nimport bundle from './file.bundle.js'\n```\n\n**webpack.config.js**\n``` js\nmodule.exports = {\n  entry: {\n   index: './App.js'\n  },\n  output: {\n    path: path.resolve(__dirname, 'dest'),\n    filename: '[name].js',\n    // or whatever other format you want\n    chunkFilename: '[name].[id].js',\n  },\n  module: {\n    rules: [\n      {\n        test: /\\.bundle\\.js$/,\n        use: {\n          loader: 'bundle-loader',\n          options: {\n            name: 'my-chunk'\n          }\n        }\n      }\n    ]\n  }\n}\n```\n\nNormal chunks will show up using the `filename` rule above, and be named according to their `[chunkname]`.\n\nChunks from `bundle-loader`, however will load using the `chunkFilename` rule, so the example files will produce `my-chunk.1.js` and `file-2.js` respectively.\n\nYou can also use `chunkFilename` to add hash values to the filename, since putting `[hash]` in the bundle options parameter does not work correctly.\n\n<h2 align=\"center\">Maintainers</h2>\n\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\">\n        <a href=\"https://github.com/bebraw\">\n          <img width=\"150\" height=\"150\" src=\"https://github.com/bebraw.png?v=3&s=150\">\n          </br>\n          Juho Vepsäläinen\n        </a>\n      </td>\n      <td align=\"center\">\n        <a href=\"https://github.com/d3viant0ne\">\n          <img width=\"150\" height=\"150\" src=\"https://github.com/d3viant0ne.png?v=3&s=150\">\n          </br>\n          Joshua Wiens\n        </a>\n      </td>\n      <td align=\"center\">\n        <a href=\"https://github.com/michael-ciniawsky\">\n          <img width=\"150\" height=\"150\" src=\"https://github.com/michael-ciniawsky.png?v=3&s=150\">\n          </br>\n          Michael Ciniawsky\n        </a>\n      </td>\n      <td align=\"center\">\n        <a href=\"https://github.com/evilebottnawi\">\n          <img width=\"150\" height=\"150\" src=\"https://github.com/evilebottnawi.png?v=3&s=150\">\n          </br>\n          Alexander Krasnoyarov\n        </a>\n      </td>\n    </tr>\n  <tbody>\n</table>\n\n\n[npm]: https://img.shields.io/npm/v/bundle-loader.svg\n[npm-url]: https://npmjs.com/package/bundle-loader\n\n[node]: https://img.shields.io/node/v/bundle-loader.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/bundle-loader.svg\n[deps-url]: https://david-dm.org/webpack-contrib/bundle-loader\n\n[tests]: http://img.shields.io/travis/webpack-contrib/bundle-loader.svg\n[tests-url]: https://travis-ci.org/webpack-contrib/bundle-loader\n\n[cover]: https://coveralls.io/repos/github/webpack-contrib/bundle-loader/badge.svg\n[cover-url]: https://coveralls.io/github/webpack-contrib/bundle-loader\n\n[chat]: https://badges.gitter.im/webpack/webpack.svg\n[chat-url]: https://gitter.im/webpack/webpack","users":{}}