feat: 添加部署脚本、Maven Wrapper 和 mom-frontend-vue2 项目
- deploy/: 后端、ERP前端、MOM前端部署脚本 - mom-backend: Maven Wrapper 支持无全局 Maven 构建 - mom-frontend-vue2: MES 管理前端 Vue2 项目 Made-with: Cursor
This commit is contained in:
13
mom-frontend-vue2/babel.config.js
Normal file
13
mom-frontend-vue2/babel.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
'env': {
|
||||
'development': {
|
||||
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
|
||||
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
|
||||
'plugins': ['dynamic-import-node']
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user