@rbarilani/remove-source-map-url-webpack-plugin
Advanced tools
Comparing version 0.1.0-alpha to 0.1.0-alpha.1
@@ -35,3 +35,3 @@ 'use strict'; | ||
let asset = compilation.assets[key]; | ||
let source = asset.source().replace(/# sourceMappingURL=(.*\.map)/g, '# $1'); | ||
let source = asset.source().replace(/# sourceMappingURL=(.+?\.map)/g, '# $1'); | ||
compilation.assets[key] = Object.assign(asset, { | ||
@@ -38,0 +38,0 @@ source: function () { return source } |
{ | ||
"name": "@rbarilani/remove-source-map-url-webpack-plugin", | ||
"version": "0.1.0-alpha", | ||
"version": "0.1.0-alpha.1", | ||
"description": "Remove source map url comments webpack plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,5 +30,5 @@ Remove Source Map Url Webpack Plugin | ||
plugins: [ | ||
new RemoveSourceMapUrlWebpackPlugin({ | ||
test: /index_bundle\.js$/ | ||
}) | ||
new RemoveSourceMapUrlWebpackPlugin({ | ||
test: /index_bundle\.js$/ | ||
}) | ||
] | ||
@@ -35,0 +35,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4551