From edebc715a7ce585ed3738fcdbea2e889bbd30941 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Thu, 11 Jan 2024 16:47:31 +0300 Subject: [PATCH] chore(demo): workaround for `vue@3.4.0` regression --- projects/demo/webpack.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/demo/webpack.config.ts b/projects/demo/webpack.config.ts index d0a9ca080..75cd1f892 100644 --- a/projects/demo/webpack.config.ts +++ b/projects/demo/webpack.config.ts @@ -1,4 +1,4 @@ -import {Configuration} from 'webpack'; +import {Configuration, DefinePlugin} from 'webpack'; import {merge} from 'webpack-merge'; /** @@ -42,6 +42,11 @@ const config: Configuration = { vue$: 'vue/dist/vue.esm-bundler.js', }, }, + plugins: [ + new DefinePlugin({ + __VUE_PROD_DEVTOOLS__: 'false', // vue 3.4.0 regression (https://github.com/vuejs/core/issues/10039#issuecomment-1883015495) + }), + ], output: { hashFunction: 'xxhash64', },