|
@@ -29,8 +29,8 @@ export const config = {
|
|
|
updateHtml: readFileSync(path.resolve(__dirname, './deprecate.html'), 'utf8')
|
|
|
},
|
|
|
},
|
|
|
- buildWebCommand: 'npm run build-only', //构建命令
|
|
|
- buildWebOutDir: '../../../dist', //构建输出目录。相对于当前文件目录
|
|
|
+ buildWebCommand: 'npm run nuxt-build', //构建命令
|
|
|
+ buildWebOutDir: '../../../.output', //构建输出目录。相对于当前文件目录
|
|
|
buildWebOutVersionPath: '', //版本号输出目录,输出版本号至文件以供项目使用。相对于当前文件目录
|
|
|
/**
|
|
|
* 自定义生成Web版本号的方法。
|