JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 591580
  • Score
    100M100P100Q182576F
  • License MIT

Rollup plugin for grabbing source maps from sourceMappingURLs

Package Exports

  • rollup-plugin-sourcemaps

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-sourcemaps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rollup-plugin-sourcemaps

npm Build Status Coverage Status Dependency Status devDependency Status

Rollup plugin for grabbing source maps from sourceMappingURLs.

Useful for working with precompiled modules with existing source maps, without resorting to sorcery.

Requires Rollup v0.31.2 or later.

Inspired by webpack/source-map-loader.

Usage

import sourcemaps from 'rollup-plugin-sourcemaps';

export default {
  entry: 'src/index.js',
  dest: 'dist/my-awesome-package.js',
  sourceMap: true,
  plugins: [
    sourcemaps()
  ]
};