1.0.5 • Published 2 years ago

delete-sourcemap-plugin v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

delete sourcemap webpack plugin

介绍

这是一个webpack插件,构建完成后会自动删除sourcemap文件。可用于接入sentry上传sourcemap后需要删除sourcemap文件类似场景。

安装依赖

使用 npm:

npm install delete-sourcemap-plugin -D

使用yarn:

yarn install delete-sourcemap-plugin -D

webpack配置

const DeleteSourceMapPlugin = require("delete-sourcemap-plugin");

module.exports = {
    devtool: 'hidden-source-map' //配置devtool类型 hidden-source-map,
    plugins: [new DeleteSourceMapPlugin()]
}
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago