1.0.3 • Published 4 years ago

@pinknetworkx/delete-sourcemaps-webpack-plugin v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

DeleteSourceMapPlugin

Webpack 5 plugin that will remove all SourceMaps url from files and remove .map files after compilation is done

This plugin wont work with webpack version lower than 5

Installation

This plugin requires Webpack v5+ in order to work.

npm

npm i @pinknetworkx/delete-sourcemaps-webpack-plugin

yarn

yarn add @pinknetworkx/delete-sourcemaps-webpack-plugin

Usage

const DeleteSourceMapPlugin = require('@pinknetworkx/delete-sourcemaps-webpack-plugin')

module.exports = {
    ...
    plugins: [
        new DeleteSourceMapPlugin()
    ],
     ...
}

Enjoy ✨