You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
462 B

2 years ago
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
2 years ago
assetsDir: 'static',
parallel: false,
runtimeCompiler: true,
publicPath: './',
transpileDependencies: true,
lintOnSave: false,
chainWebpack: config => {
config.module
.rule('vue')
.use('vue-loader')
.tap(options => {
options.compilerOptions = {
isCustomElement: tag => tag.startsWith('wx-')
}
return options
})
}
2 years ago
})