Skip to content

Commit 82231fc

Browse files
authored
Remove unnecessary compatConfig flags (#817)
Now that the migration to Vue 3 is complete, compatConfig is no longer needed and should be removed. Bug: T355239
1 parent fdffe60 commit 82231fc

File tree

7 files changed

+1
-57
lines changed

7 files changed

+1
-57
lines changed

src/components/LanguageInput.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ const searchInputWrapper = useModelWrapper(
6161
);
6262
</script>
6363

64-
<script lang="ts">
65-
export default {
66-
compatConfig: {
67-
MODE: 3,
68-
},
69-
};
70-
</script>
71-
7264
<template>
7365
<div class="wbl-snl-language-lookup">
7466
<item-lookup

src/components/LemmaInput.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ const error = computed( (): {
5252
} );
5353
</script>
5454

55-
<script lang="ts">
56-
export default {
57-
compatConfig: {
58-
MODE: 3,
59-
},
60-
};
61-
</script>
62-
6355
<template>
6456
<cdx-field
6557
class="wbl-snl-lemma-input"

src/components/LexicalCategoryInput.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ const error = computed( () => {
4040
} );
4141
</script>
4242

43-
<script lang="ts">
44-
export default {
45-
compatConfig: {
46-
MODE: 3,
47-
},
48-
};
49-
</script>
50-
5143
<template>
5244
<div class="wbl-snl-lexical-category-lookup">
5345
<item-lookup

src/components/NewLexemeForm.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ const onSubmit = async () => {
143143
144144
</script>
145145

146-
<script lang="ts">
147-
export default {
148-
compatConfig: {
149-
MODE: 3,
150-
},
151-
};
152-
</script>
153-
154146
<template>
155147
<form class="wbl-snl-form">
156148
<lemma-input

src/components/RequiredAsterisk.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ import { useMessages } from '@/plugins/MessagesPlugin/Messages';
44
const messages = useMessages();
55
</script>
66

7-
<script lang="ts">
8-
export default {
9-
compatConfig: {
10-
MODE: 3,
11-
},
12-
};
13-
</script>
14-
157
<template>
168
<span
179
class="wbl-snl-required-asterisk"

src/components/SpellingVariantInput.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,6 @@ const searchInputWrapper = useModelWrapper(
112112
);
113113
</script>
114114

115-
<script lang="ts">
116-
export default {
117-
compatConfig: {
118-
MODE: 3,
119-
},
120-
};
121-
</script>
122-
123115
<template>
124116
<cdx-field
125117
class="wbl-snl-spelling-variant-lookup"

vite.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,7 @@ export default defineConfig( {
3535
},
3636
},
3737
plugins: [
38-
vue( {
39-
template: {
40-
compilerOptions: {
41-
compatConfig: {
42-
MODE: 3,
43-
},
44-
},
45-
},
46-
} ),
38+
vue(),
4739
banner( '/*!/*@nomin*/' ),
4840
],
4941
} );

0 commit comments

Comments
 (0)