Gem 一覧へ戻る
maxdavidson/rollup-plugin-sourcemaps(新しいタブで開きます)
主要言語: TypeScript
Rollup plugin for loading files with existing source maps
- star 数
- 68
- watcher 数
- 1
- fork 数
- 24
- issue 数
- 12
- 最終更新
- 2024/08/11
README
Rollup plugin for loading files with existing source maps. Inspired by webpack/source-map-loader.
Works with rollup 0.31.2 or later.
If you use rollup-plugin-babel,
you might be able to use the inputSourceMap option instead of this plugin.
- You transpile your files with source maps before bundling with rollup
- You consume external modules with bundled source maps
import sourcemaps from 'rollup-plugin-sourcemaps'; export default { input: 'src/index.js', plugins: [sourcemaps()], output: { sourcemap: true, file: 'dist/my-awesome-package.js', }, };