{"library":"expose-loader","type":"library","category":null,"description":"A webpack loader that exposes a module (in whole or in part) to the global object (window/global/self). Current stable version is 5.0.1, with regular maintenance releases. It is part of the webpack-contrib org and the recommended shimming solution for exposing third-party libraries to global scope. Key differentiators: supports granular exposure of specific exports, multiple global names, and override control. Alternative approaches like ProvidePlugin only add variables to modules, while this loader actually attaches to the global object for browser compatibility.","language":"javascript","status":"active","version":"5.0.1","tags":["javascript","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install expose-loader","imports":["import $ from \"expose-loader?exposes=$,jQuery!jquery\"","module.exports = { module: { rules: [ { test: require.resolve('jquery'), loader: 'expose-loader', options: { exposes: ['$', 'jQuery'] } } ] } }","import { map } from \"expose-loader?exposes=_.map|map!underscore\""]},{"cmd":"yarn add expose-loader","imports":[]},{"cmd":"pnpm add expose-loader","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/expose-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/expose-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/expose-loader/compatibility"}}