{"library":"babel-plugin-bundled-import-meta","type":"library","category":null,"description":"Babel plugin (v0.3.2, last updated 2020) that rewrites import.meta.url expressions to static file paths or runtime-resolved URLs for use in bundled JavaScript output. It allows developers to define mappings between local source directories and server URLs, and supports multiple import styles (amd, cjs, esm, iife, umd, system). Unlike alternatives like @rollup/plugin-replace or webpack's DefinePlugin, this plugin is specifically designed for bundlers like Rollup or custom Babel pipelines that need to preserve import.meta semantics in bundles. Requires @babel/core as a peer dependency. Active but low maintenance cadence.","language":"javascript","status":"active","version":"0.3.2","tags":["javascript","babel","esm","browser","import.meta.url","rollup"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-bundled-import-meta","imports":["module.exports = ['bundled-import-meta', { mappings: { 'src': '/assets' } }];","import bundledImportMeta from 'babel-plugin-bundled-import-meta'; export default { plugins: [[bundledImportMeta, { bundleDir: 'dist' }]] };","plugins: [['bundled-import-meta', { importStyle: 'esm' }]]"]},{"cmd":"yarn add babel-plugin-bundled-import-meta","imports":[]},{"cmd":"pnpm add babel-plugin-bundled-import-meta","imports":[]}],"homepage":null,"github":"https://github.com/cfware/babel-plugin-bundled-import-meta","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-bundled-import-meta","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-bundled-import-meta/compatibility"}}