1 Star 0 Fork 0

ChenJY / access-system-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
babel.config.js 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
ChenJY 提交于 2021-07-13 16:32 . init
// 项目开发阶段用到的babel插件
const prodPlugins = []
if (process.env.NODE_ENV === 'production') {
prodPlugins.push('transform-remove-console')
}
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
],
plugins: [
[
'component',
{
libraryName: 'element-ui',
styleLibraryName: 'theme-chalk'
}
],
// 发布产品时候的插件数组
...prodPlugins,
'@babel/plugin-syntax-dynamic-import'
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/chienjy/access-system-admin.git
git@gitee.com:chienjy/access-system-admin.git
chienjy
access-system-admin
access-system-admin
master

搜索帮助