Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rbarilani/remove-source-map-url-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbarilani/remove-source-map-url-webpack-plugin - npm Package Compare versions

Comparing version 0.1.0-alpha to 0.1.0-alpha.1

2

index.js

@@ -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 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc