mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
30 lines
1.9 KiB
Diff
30 lines
1.9 KiB
Diff
diff --git a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js
|
|
index 652af73..a715166 100644
|
|
--- a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js
|
|
+++ b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js
|
|
@@ -1817,7 +1817,8 @@ function parse$1(source, options = {}) {
|
|
if (!templateBlock.attrs.src) {
|
|
templateBlock.ast = compilerCore.createRoot(node.children, source);
|
|
}
|
|
- if (templateBlock.attrs.functional) {
|
|
+ // disabled by patch-package in gitlab as temporary migration
|
|
+ if (false && templateBlock.attrs.functional) {
|
|
const err = new SyntaxError(
|
|
`<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.`
|
|
);
|
|
diff --git a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js
|
|
index d3bb28f..80c9c7d 100644
|
|
--- a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js
|
|
+++ b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js
|
|
@@ -27061,7 +27061,9 @@ function parse$2(source, options = {}) {
|
|
if (!templateBlock.attrs.src) {
|
|
templateBlock.ast = createRoot(node.children, source);
|
|
}
|
|
- if (templateBlock.attrs.functional) {
|
|
+ // disabled by patch-package in gitlab as temporary migration
|
|
+ // See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/114730
|
|
+ if (false && templateBlock.attrs.functional) {
|
|
const err = new SyntaxError(
|
|
`<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.`
|
|
);
|