{"library":"bundle-loader","type":"library","category":null,"description":"Webpack loader that wraps modules in a require.ensure block to create separate chunks for lazy loading. Version 0.5.6 is the current stable release; last updated February 2018. Key differentiator: simple callback-based API for loading code-split bundles on demand, with options for lazy loading and custom chunk naming. Unlike dynamic import(), it uses webpack's legacy require.ensure and is best suited for webpack 1–3 projects. No longer actively maintained; users should migrate to webpack's built-in dynamic import or @loadable-component.","language":"javascript","status":"maintenance","version":"0.5.6","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bundle-loader","imports":["import bundle from './file.bundle.js';","const bundle = require('./file.bundle.js');","module.exports = { module: { rules: [ { test: /\\.bundle\\.js$/, use: { loader: 'bundle-loader', options: { lazy: true } } } ] } };"]},{"cmd":"yarn add bundle-loader","imports":[]},{"cmd":"pnpm add bundle-loader","imports":[]}],"homepage":"https://webpack.js.org/loaders/bundle-loader","github":"https://github.com/webpack-contrib/bundle-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bundle-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bundle-loader/compatibility"}}