2 Star 0 Fork 1

张亚斐/bzds-admin

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
babel.config.js 581 Bytes
Copy Edit Raw Blame History
张亚斐 authored 2022-01-25 09:31 . Initial commit
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
const plugins = []
if (IS_PROD) {
plugins.push('transform-remove-console')
}
module.exports = {
presets: [
'@vue/app',
[
'@babel/preset-env',
{
'useBuiltIns': 'entry'
}
]
],
sourceType: 'unambiguous',
plugins
// if your use import on Demand, Use this code
// ,
// plugins: [
// [ 'import', {
// 'libraryName': 'ant-design-vue',
// 'libraryDirectory': 'es',
// 'style': true // `style: true` 会加载 less 文件
// } ]
// ]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mei_da/bzds-admin.git
git@gitee.com:mei_da/bzds-admin.git
mei_da
bzds-admin
bzds-admin
master

Search