chore(frontend): 更新前端配置文件和构建脚本
- 更新 uni-app 配置文件(manifest.json、vue.config.js) - 新增 babel.config.js 和 uni-h5-polyfill.js 支持 - 更新缓存工具类(cache.js、index.js) - 新增 nginx-crmeb.conf 部署配置 - 更新 package-lock.json
This commit is contained in:
8
pro_v3.5.1/view/uniapp/babel.config.js
Normal file
8
pro_v3.5.1/view/uniapp/babel.config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const HX_BABEL = '/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules'
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require.resolve('@babel/plugin-proposal-optional-chaining', { paths: [HX_BABEL] }),
|
||||
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator', { paths: [HX_BABEL] })
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user