mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
23 lines
867 B
Diff
23 lines
867 B
Diff
diff --git a/node_modules/vue-loader-vue3/dist/compiler.js b/node_modules/vue-loader-vue3/dist/compiler.js
|
|
index cc53850..2f09221 100644
|
|
--- a/node_modules/vue-loader-vue3/dist/compiler.js
|
|
+++ b/node_modules/vue-loader-vue3/dist/compiler.js
|
|
@@ -1,12 +1,6 @@
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.compiler = void 0;
|
|
-try {
|
|
- // Vue 3.2.13+ ships the SFC compiler directly under the `vue` package
|
|
- // making it no longer necessary to have @vue/compiler-sfc separately installed.
|
|
- exports.compiler = require('vue/compiler-sfc');
|
|
-}
|
|
-catch (e) {
|
|
try {
|
|
exports.compiler = require('@vue/compiler-sfc');
|
|
}
|
|
@@ -14,4 +8,3 @@ catch (e) {
|
|
throw new Error(`@vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc ` +
|
|
`to be present in the dependency tree.`);
|
|
}
|
|
-}
|