chore: Formatting issues do not hinder compilation (#142)

This commit is contained in:
xw 2022-03-22 09:58:22 +08:00 committed by GitHub
parent 3b5953d405
commit dba40a7254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
const isProd = process.env.NODE_ENV === `production` const isProd = process.env.NODE_ENV === `production`
module.exports = { module.exports = {
lintOnSave: true,
publicPath: process.env.SERVER_ENV === `NETLIFY` ? `/` : `/md/`, // 基本路径, 建议以绝对路径跟随访问目录 publicPath: process.env.SERVER_ENV === `NETLIFY` ? `/` : `/md/`, // 基本路径, 建议以绝对路径跟随访问目录
configureWebpack: (config) => { configureWebpack: (config) => {
config.module.rules.push({ config.module.rules.push({