constpath=require(`path`)functionresolve(dir){returnpath.join(__dirname,dir)}module.exports={publicPath:`./`,assetsDir:`assets`,chainWebpack:(config)=>{config.module.rule(`eslint`).use(`eslint-loader`).loader(`eslint-loader`).tap(options=>{options.fix=truereturnoptions})//设置项目目录的别名,使用jsconfig的@/config.resolve.alias.set(`@`,resolve(`src`)).set(`@assets`,resolve(`src/assets`)).set(`@components`,resolve(`src/components`)).set(`@views`,resolve(`src/views`)).set(`@static`,resolve(`src/static`))}transpileDependencies:[],configureWebpack:{},devServer:{},outputDir:undefined,runtimeCompiler:true,productionSourceMap:false,parallel:undefined,}
