We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 097005e commit a4f4df1Copy full SHA for a4f4df1
vue.config.js
@@ -57,10 +57,12 @@ module.exports = defineConfig({
57
// Tweak configuration options for Karma test runner to produce a bundle
58
// which can run under Chrome headless. Avoid warnings due to custom entries
59
// and customized filenames. Enable correct code coverage of .vue files.
60
+ // Disable Vuetify treeshaking.
61
if (process.env.NODE_ENV === 'test') {
62
config.devtool = 'eval'
63
config.optimization.runtimeChunk = false
64
config.optimization.splitChunks = false
65
+ config.plugins = config.plugins.filter(plugin => plugin.constructor.name !== 'VuetifyLoaderPlugin')
66
delete config.target
67
delete config.entry
68
delete config.output.filename
0 commit comments