{"library":"babel-plugin-bulk-import","type":"library","category":null,"description":"Babel plugin (v2.0.0) that transforms glob-based import paths (e.g., `import * as Features from './features/*.js'`) into explicit per-module imports at build time. Designed to solve the problem of dynamically discovering modules in a directory while ensuring webpack bundles them correctly for client-side applications. Uses node-glob for path resolution. Not actively maintained (last release 2017). Key differentiator: enables automatic module registration without runtime dynamic imports, avoiding webpack dead-code elimination. Alternatives include `babel-plugin-wildcard` or manual `require.context` with webpack.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","babel","plugin","import","folder","directory","bulk","wildcard"],"last_verified":"Fri May 01","install":[{"cmd":"npm install babel-plugin-bulk-import","imports":["in .babelrc: {\"plugins\": [\"babel-plugin-bulk-import\"]}","import * as all from './features/*.js'","import { featureA } from './features/*.js'"]},{"cmd":"yarn add babel-plugin-bulk-import","imports":[]},{"cmd":"pnpm add babel-plugin-bulk-import","imports":[]}],"homepage":null,"github":"https://github.com/madshall/babel-plugin-bulk-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-bulk-import","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}