mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 18:09:23 +08:00
Modify code organization
This commit is contained in:
25
cmdb-ui/babel.config.js
Normal file
25
cmdb-ui/babel.config.js
Normal 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 文件
|
||||
// } ]
|
||||
// ]
|
||||
}
|
Reference in New Issue
Block a user