{"library":"babel-plugin-bare-import-rewrite","type":"library","category":null,"description":"A Babel plugin that rewrites bare import specifiers (like 'lodash') to browser-compatible URL-based paths for use without a bundler, currently at stable version 2.0.0. It resolves bare imports to absolute or relative URLs pointing to node_modules on a web server, with configurable options like modulesDir, alwaysRootImport, and ignorePrefixes. This plugin is a pragmatic solution until native import maps gain full browser support, making it distinct from bundler-based approaches like Webpack or Rollup. It supports ESM, CJS, and TypeScript projects using Babel, actively maintained, and requires @babel/core >=7.8.3.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","babel","esm","browser","import"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-bare-import-rewrite","imports":["import { resolve } from 'babel-plugin-bare-import-rewrite'","import bareImportRewrite from 'babel-plugin-bare-import-rewrite'","const { resolve } = require('babel-plugin-bare-import-rewrite')"]},{"cmd":"yarn add babel-plugin-bare-import-rewrite","imports":[]},{"cmd":"pnpm add babel-plugin-bare-import-rewrite","imports":[]}],"homepage":null,"github":"https://github.com/cfware/babel-plugin-bare-import-rewrite","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-bare-import-rewrite","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/babel-plugin-bare-import-rewrite/compatibility"}}