@@ -5,7 +5,7 @@ | |||
"scripts": { | |||
"serve": "vue-cli-service serve", | |||
"build": "vue-cli-service build", | |||
"build-test": "vue-cli-service build", | |||
"build-test": "vue-cli-service build --mode test", | |||
"lint": "vue-cli-service lint", | |||
"deps": "yarn upgrade-interactive --latest", | |||
"dev": "vue-cli-service serve --mode development", | |||
@@ -10,7 +10,7 @@ | |||
npm -v | |||
npm config set registry https://registry.npm.taobao.org | |||
npm install | |||
npm run build | |||
npm run build-test | |||
image_version=$version; | |||
# 删除镜像 | |||
docker rmi -f $( | |||
@@ -6,7 +6,7 @@ const resolve = dir => path.join(__dirname, dir); | |||
// page title | |||
const name = defaultSettings.title || ''; | |||
// 生产环境,测试和正式 | |||
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV); | |||
const IS_PROD = ['test'].includes(process.env.NODE_ENV); | |||
const { defineConfig } = require('@vue/cli-service'); | |||
// externals | |||