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