mirror of
https://github.com/doocs/md.git
synced 2024-10-06 12:03:12 +08:00
d54a2af230
* 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
8 lines
280 B
JavaScript
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,
|
|
},
|
|
}
|