JSPM

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

extracts inlined source map and offers it to webpack

Package Exports

  • source-map-loader

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 (source-map-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

source map loader for webpack

Extracts SourceMaps for source files that as added as sourceMappingURL comment.

Usage

Documentation: Using loaders

example webpack config

module.exports = {
  module: {
    preLoaders: [
      {
        test: /\.js$/,
        loader: "source-map-loader"
      }
    ]
  }
};

This extracts all SourceMaps from all files. That's no so performance-wise so you may only want to apply the loader to relevant files.

License

MIT (http://www.opensource.org/licenses/mit-license.php)