Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary compatConfig flags #817

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/components/LanguageInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ const searchInputWrapper = useModelWrapper(
);
</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<div class="wbl-snl-language-lookup">
<item-lookup
Expand Down
8 changes: 0 additions & 8 deletions src/components/LemmaInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@ const error = computed( (): {
} );
</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<cdx-field
class="wbl-snl-lemma-input"
Expand Down
8 changes: 0 additions & 8 deletions src/components/LexicalCategoryInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ const error = computed( () => {
} );
</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<div class="wbl-snl-lexical-category-lookup">
<item-lookup
Expand Down
8 changes: 0 additions & 8 deletions src/components/NewLexemeForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,6 @@ const onSubmit = async () => {

</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<form class="wbl-snl-form">
<lemma-input
Expand Down
8 changes: 0 additions & 8 deletions src/components/RequiredAsterisk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ import { useMessages } from '@/plugins/MessagesPlugin/Messages';
const messages = useMessages();
</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<span
class="wbl-snl-required-asterisk"
Expand Down
8 changes: 0 additions & 8 deletions src/components/SpellingVariantInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@
);
</script>

<script lang="ts">
export default {
compatConfig: {
MODE: 3,
},
};
</script>

<template>
<cdx-field
class="wbl-snl-spelling-variant-lookup"
Expand All @@ -141,7 +133,7 @@
</template>
</cdx-lookup>
<template #label>
{{ messages.getUnescaped( 'wikibaselexeme-newlexeme-lemma-language' ) }}<required-asterisk />

Check warning on line 136 in src/components/SpellingVariantInput.vue

View workflow job for this annotation

GitHub Actions / code-quality

This line has a length of 105. Maximum allowed is 100
<span class="wbl-snl-spelling-variant-lookup__help-link">
<a :href="helpUrl" target="_blank">{{ helpLinkText }}</a>
</span>
Expand Down
10 changes: 1 addition & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,7 @@ export default defineConfig( {
},
},
plugins: [
vue( {
template: {
compilerOptions: {
compatConfig: {
MODE: 3,
},
},
},
} ),
vue(),
banner( '/*!/*@nomin*/' ),
],
} );
Loading