rollup-plugin-sourcemaps
Rollup plugin for grabbing source maps from sourceMappingURLs
Last updated 5 years ago by maxdavidson .
MIT · Repository · Bugs · Original npm
$ cnpm install rollup-plugin-sourcemaps 
SYNC missed versions from official npm registry.

rollup-plugin-sourcemaps

npm Build Status Coverage Status

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.

Why?

  • You transpile your files with source maps before bundling with rollup
  • You consume external modules with bundled source maps

Usage

import sourcemaps from 'rollup-plugin-sourcemaps';

export default {
  input: 'src/index.js',
  plugins: [sourcemaps()],
  output: {
    sourcemap: true,
    file: 'dist/my-awesome-package.js',
  },
};

Current Tags

  • 0.6.3                                ...           latest (5 years ago)

2 Versions

  • 0.6.3                                ...           5 years ago
  • 0.4.2                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org