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
21 lines
462 B
const { defineConfig } = require('@vue/cli-service')
|
|
module.exports = defineConfig({
|
|
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
|
|
})
|
|
}
|
|
})
|