Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 1b2d87e453d..3da9913c820 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -322,9 +322,11 @@ if (EXPLICIT_VUE_VERSION) {
if (USE_VUE3) {
Object.assign(alias, {
- vue: '@vue/compat',
+ // ensure we always use the same type of module for Vue
+ vue: '@vue/compat/dist/vue.runtime.esm-bundler.js',
vuex: path.join(ROOT_PATH, 'app/assets/javascripts/lib/utils/vue3compat/vuex.js'),
'vue-apollo': path.join(ROOT_PATH, 'app/assets/javascripts/lib/utils/vue3compat/vue_apollo.js'),
+ 'vue-router': path.join(ROOT_PATH, 'app/assets/javascripts/lib/utils/vue3compat/vue_router.js'),
});
vueLoaderOptions.compiler = require.resolve('./vue3migration/compiler');