mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-10-06 11:29:58 +08:00
新增依赖:"mockjs": "^1.1.0", 删除依赖:"core-js": "^3.6.4", 升级依赖: "@vue/cli-plugin-babel": "^4.3.1", "@vue/cli-plugin-eslint": "^4.3.1", "@vue/cli-service": "^4.3.1",
16 lines
585 B
Plaintext
16 lines
585 B
Plaintext
NODE_ENV='development'
|
|
# must start with VUE_APP_
|
|
VUE_APP_ENV = 'development'
|
|
|
|
# base api
|
|
VUE_APP_BASE_API = '/dev-api'
|
|
|
|
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
|
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
|
|
# It only does one thing by converting all import() to require().
|
|
# This configuration can significantly increase the speed of hot updates,
|
|
# when you have a large number of pages.
|
|
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
|
|
|
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|