feat 调整打包前端复制的路径

feat 文章修复无法编辑流浪量的bug
This commit is contained in:
damonyuan
2024-10-31 10:03:12 +08:00
parent 762ba10f61
commit 4b173ec6ea
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import path from 'path'
const { existsSync, remove, copy } = fsExtra
const cwd = process.cwd()
//打包发布路径,谨慎改动
const releaseRelativePath = '../server/public/admin'
const releaseRelativePath = '../public/admin'
const distPath = path.resolve(cwd, 'dist')
const releasePath = path.resolve(cwd, releaseRelativePath)