1 Star 0 Fork 374

嗼小鱼 / ruoyi-ant

forked from wind / ruoyi-ant 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
babel.config.js 568 Bytes
一键复制 编辑 原始数据 按行查看 历史
wind 提交于 2020-03-12 10:50 . fix:suppor ie 10
const plugins = []
// if your use import on Demand, Use this code,but can't use the cdn together
// plugins.push(
// [ 'import', {
// 'libraryName': 'ant-design-vue',
// 'libraryDirectory': 'es',
// 'style': true // `style: true` 会加载 less 文件
// } ]
// )
if (['production', 'prod'].includes(process.env.NODE_ENV)) {
plugins.push('transform-remove-console')
}
module.exports = {
presets: [
'@vue/app',
[
'@babel/preset-env',
{
'useBuiltIns': 'entry',
'corejs': 3
}
]
],
plugins: plugins
}
JavaScript
1
https://gitee.com/moxiaoyu1125/ruoyi-ant.git
git@gitee.com:moxiaoyu1125/ruoyi-ant.git
moxiaoyu1125
ruoyi-ant
ruoyi-ant
master

搜索帮助