-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Build fails missing .nuxt/tsconfig.json #12074
Comments
Can confirm this. My nuxi info
When running on Edit:
|
Maybe |
Hi! This issue is pending for a fix on vite vitejs/vite#5309 to avoid resolving tsconfig. We might use a faster workaround too. |
This also happens when using <script setup lang="ts">
const msg = ref('Hello World!')
</script>
<template>
<h1>{{ msg }}</h1>
<input v-model="msg">
</template> |
Environment
Linux
v14.18.0
3-3.0.0-27237303.6acfdcd
Yarn
Webpack
-
-
-
Describe the bug
Build fails with a plugin and tsconfig.json extending generated .nuxt/tsconfig.json
Reproduction
Using a starter with
tsconfig.json
with :And adding a simple
plugins/test.ts
:Running
yarn dev
is OK, butyarn build
failsAdditional context
Seems like build command load plugins before generating .nuxt/tsconfig.json ...
Logs
No response
The text was updated successfully, but these errors were encountered: