{"library":"promise-loader","type":"library","category":null,"description":"A Webpack loader that provides a promise-based alternative to bundle-loader for code splitting. It wraps lazy-loaded chunks behind a function that returns a Promise<module>, allowing you to control when the chunk is fetched. The loader requires a promise library parameter (e.g., 'bluebird', 'Q', or 'global'). Supports named chunks and filename/name substitutions in bundle names. Stable version 1.0.0, by Dan Abramov. Useful for single-page apps needing promise-based lazy loading with Webpack.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript"],"install":[{"cmd":"npm install promise-loader","imports":["const load = require('promise?bluebird!./file.js');","const load = require('promise?bluebird,editor!./editor.js');","{ test: /\\.i18n\\.json$/, loader: 'promise?global,[name].i18n' }"]},{"cmd":"yarn add promise-loader","imports":[]},{"cmd":"pnpm add promise-loader","imports":[]}],"homepage":null,"github":"https://github.com/gaearon/promise-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/promise-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/promise-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}