rename-source-map
v1.0.1
Published
rename sourceMap
Downloads
4
Maintainers
Readme
rename-source-map
rename sourceMap
how to use?
vueCli
const webpackRenamePlugin=require('rename-source-map')
module.exports = defineConfig({
transpileDependencies: true,
productionSourceMap: true,
configureWebpack: {
//name: string
plugins: [new webpackRenamePlugin('_rename_')],
},
})
webpack config
const webpack = require('webpack');
const webpackRenamePlugin=require('rename-source-map')
// 在配置中添加插件
module.exports = {
// todo
plugins: [
//name: string
new webpackRenamePlugin('_rename_'),
],
};