Browse Source

本地打包dist

pull/1/head
Nick930826 3 years ago
parent
commit
28671b8525
  1. 1
      .gitignore
  2. 2
      ecosystem.config.js

1
.gitignore

@ -1,6 +1,5 @@
.DS_Store
node_modules
/dist
# local env files
.env.local

2
ecosystem.config.js

@ -12,7 +12,7 @@ module.exports = {
ref: 'origin/main',
repo: 'git@git.zhlh6.cn:newbee-ltd/vue3-admin.git',
path: '/workspace/vue3-admin',
'post-deploy': 'git reset --hard && git checkout main && git pull && npm i --production=false && npm run build:release && pm2 startOrReload ecosystem.config.js', // -production=false 下载全量包
'post-deploy': 'git reset --hard && git checkout main && git pull && npm i --production=false && pm2 startOrReload ecosystem.config.js', // -production=false 下载全量包
env: {
NODE_ENV: 'production'
}

Loading…
Cancel
Save