From 9fcd66954e9431a454bdb4a3ee6c526472aab06e Mon Sep 17 00:00:00 2001 From: s1gr1d Date: Wed, 11 Dec 2024 13:33:16 +0100 Subject: [PATCH 1/2] fix(nuxt): Add unbuild config to not fail on warn --- packages/nuxt/build.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packages/nuxt/build.config.ts diff --git a/packages/nuxt/build.config.ts b/packages/nuxt/build.config.ts new file mode 100644 index 000000000000..4cb00345dc43 --- /dev/null +++ b/packages/nuxt/build.config.ts @@ -0,0 +1,7 @@ +import { defineBuildConfig } from 'unbuild'; + +// Build Config for the Nuxt Module Builder: https://github.com/nuxt/module-builder +export default defineBuildConfig({ + // The devDependency "@sentry-internal/nitro-utils" triggers "Inlined implicit external", but it's not external + failOnWarn: false, +}); From c54b84d80e78ee41b145174d92310468b6e0f3fa Mon Sep 17 00:00:00 2001 From: s1gr1d Date: Wed, 11 Dec 2024 13:55:30 +0100 Subject: [PATCH 2/2] include build config in tsconfig --- packages/nuxt/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/tsconfig.json b/packages/nuxt/tsconfig.json index 7ddf2a7162c7..de9c931f2cd1 100644 --- a/packages/nuxt/tsconfig.json +++ b/packages/nuxt/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.json", - "include": ["src/**/*"], + "include": ["src/**/*", "build.config.ts"], "compilerOptions": { // package-specific options