Modify code organization

This commit is contained in:
pycook
2019-12-18 23:33:22 +09:00
parent ccf1d1c09a
commit 92183423df
329 changed files with 29553 additions and 38 deletions

25
cmdb-ui/babel.config.js Normal file
View File

@@ -0,0 +1,25 @@
module.exports = {
presets: [
'@vue/app',
[
'@babel/preset-env',
{
'useBuiltIns': 'usage', // "usage" | "entry" | false, defaults to false.
'corejs': '3.1.2',
'targets': {
'esmodules': true,
'ie': '11'
}
}
]
]
// if your use import on Demand, Use this code
// ,
// plugins: [
// [ 'import', {
// 'libraryName': 'ant-design-vue',
// 'libraryDirectory': 'es',
// 'style': true // `style: true` 会加载 less 文件
// } ]
// ]
}