wcs_client_kate_suzhou/vue.config.js

16 lines
438 B
JavaScript
Raw Permalink Normal View History

2024-05-14 16:31:23 +08:00
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
publicPath: '/wcs',
2024-05-14 16:31:23 +08:00
transpileDependencies: true,
chainWebpack: (config) => {
config.plugin('define').tap((defineConfig) => {
Object.assign(defineConfig[0], {
__VUE_OPTIONS_API__: 'true',
__VUE_PROD_DEVTOOLS__: false,
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
})
return defineConfig
})
}
})