Skip to content

Commit 8b1b64c

Browse files
authored
fix(nuxt): Create declaration files for Nuxt module (#13909)
[Nuxt module builder](https://github.com/nuxt/module-builder) uses the closest `tsconfig.json` and this had `"declaration": false`. I added another `tsconfig.json` closer to the module to generate those declarations. fixes #13899
1 parent 067ad93 commit 8b1b64c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/nuxt/src/tsconfig.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
4+
"compilerOptions": {
5+
// nuxt-module-build uses the closest `tsconfig.json` to build the Nuxt module declarations
6+
"declaration": true,
7+
}
8+
}

0 commit comments

Comments
 (0)