{"library":"rollup-plugin-include-sourcemaps","title":"rollup-plugin-include-sourcemaps","description":"Rollup plugin (v0.7.0) that loads existing source maps from sourceMappingURL comments in transpiled files. Designed for workflows where files are pre-transpiled (e.g., with Babel or TypeScript) before bundling, or when consuming external modules that include inline source maps. It automatically reads and attaches source maps so Rollup's output contains accurate mappings. Lightweight alternative to webpack's source-map-loader, with no extra configuration needed. Works with Rollup >=0.31.2 and Node >=10.0.0. Ships TypeScript declarations. Last updated 2021, stable release.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-include-sourcemaps"],"cli":null},"imports":["import sourcemaps from 'rollup-plugin-include-sourcemaps'","import sourcemaps from 'rollup-plugin-include-sourcemaps'","import type { RollupPluginIncludeSourcemapsOptions } from 'rollup-plugin-include-sourcemaps'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import sourcemaps from 'rollup-plugin-include-sourcemaps';\n\nexport default {\n  input: 'src/index.js',\n  plugins: [sourcemaps()],\n  output: {\n    sourcemap: true,\n    file: 'dist/bundle.js',\n  },\n};","lang":"typescript","description":"Shows minimal Rollup config using the plugin to include existing source maps from transpiled input files.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}