md/vue.config.js
xw d54a2af230
refactor: remove HBuilderX (#87)
* refactor: Does not depend on HBuilderX

* refactor: Remove redundant files and configurations

* doc: Add development instructions

* feat: 添加 `build:h5-netlify` 命令以 build 到不同目录

* chore: Add post-release test function
2021-11-23 11:07:28 +08:00

8 lines
280 B
JavaScript

module.exports = {
publicPath: process.env.SERVER_ENV === `NETLIFY` ? `/` : `/md/`, // 基本路径, 建议以绝对路径跟随访问目录
outputDir: process.env.SERVER_ENV === `NETLIFY` ? `./dist/` : `./dist/md/`, // 输出文件目录
css: {
sourceMap: true,
},
}