source-map-loader-cli

0.0.1 • Public • Published

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: {
    rules: [
      {
        test: /\.js$/,
        use: ["source-map-loader"],
        enforce: "pre"
      }
    ]
  }
};

This extracts all SourceMaps from all files. That's not 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)

Readme

Keywords

none

Package Sidebar

Install

npm i source-map-loader-cli

Weekly Downloads

32

Version

0.0.1

License

none

Last publish

Collaborators

  • rorticus