1 Star 0 Fork 1.3K

陈科阳/dgiot-dashboard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
babel.config.js 481 Bytes
一键复制 编辑 原始数据 按行查看 历史
h7ml 提交于 2021-12-15 14:05 . refactor(babel.config.js): console
/*
* @Author: h7ml
* @Date: 2021-03-11 18:38:56
* @LastEditTime: 2021-03-15 15:48:37
* @LastEditors: h7ml
* @FilePath: \dgiot-dashboard\babel.config.js
* @Description:
*/
const { clearConsole } = require('./src/config')
let plugins = ['dynamic-import-node', '@babel/plugin-transform-runtime']
if (process.env.NODE_ENV !== 'development' && clearConsole)
plugins.push('transform-remove-console')
module.exports = {
presets: ['@vue/cli-plugin-babel/preset'],
plugins,
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chen-keyang/dgiot-dashboard.git
git@gitee.com:chen-keyang/dgiot-dashboard.git
chen-keyang
dgiot-dashboard
dgiot-dashboard
master

搜索帮助