Skip to content

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

License

Notifications You must be signed in to change notification settings

DamianBusz/DeleteSourceMapPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 @zimmc0/delete-sourcemaps-webpack-plugin

yarn

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

Usage

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

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

Enjoy ✨

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published