@jomsou/clear-console-plugin
v1.0.0-master.2b2b392
Published
This is a project about babel plugin
Downloads
5
Readme
clear-console-plugin
安装
npm i @jomsou/clear-console-plugin -D
使用
babel.config.js配置
const clearConsolePlugin = require('@jomsou/clear-console-plugin')
module.exports = {
"plugins": [
clearConsolePlugin
]
}
webpack配置
const clearConsolePlugin = require('@jomsou/clear-console-plugin')
rules: [
{
test: /\.js$/, use: {
loader: 'babel-loader',
options: {
plugins: [
clearConsolePlugin
]
}
}, exclude: /node_modules/}
]
}
更新日志:
- 2020.12.01 完成v1.0.0版本