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

rollup-plugin-sourcemaps

npm Build Status Coverage Status Greenkeeper badge

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.5.0                                ...           latest (15 days ago)

15 Versions

  • 0.5.0                                ...           15 days ago
  • 0.4.2                                ...           3 years ago
  • 0.4.1                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.7                                ...           3 years ago
  • 0.3.6                                ...           3 years ago
  • 0.3.5                                ...           4 years ago
  • 0.3.4                                ...           4 years ago
  • 0.3.3                                ...           4 years ago
  • 0.3.2                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 531
This Month 1,599
Last Day 26
Last Week 636
Last Month 3,041
Dependencies (2)
Dev Dependencies (14)
Dependents (114)

Copyright 2014 - 2016 © taobao.org |