rollup-plugin-sourcemaps
Rollup plugin for grabbing source maps from sourceMappingURLs
Last updated 3 months 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 (3 months ago)

15 Versions

  • 0.5.0                                ...           3 months ago
  • 0.4.2                                ...           3 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.7                                ...           4 years ago
  • 0.3.6                                ...           4 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 188
This Week 315
This Month 1,084
Last Day 127
Last Week 1,145
Last Month 4,547
Dependencies (2)
Dev Dependencies (14)
Dependents (127)

Copyright 2014 - 2016 © taobao.org |