Skip to content

extract sourceMappingURL comments from modules and offer it to webpack

Notifications You must be signed in to change notification settings

aleckravets/source-map-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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)

About

extract sourceMappingURL comments from modules and offer it to webpack

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%