From 77a02e643c93070e45ea4f29c1705c96c844eb0e Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Thu, 12 Dec 2024 14:33:04 -0600 Subject: [PATCH] fix(vite-plugin-angular): return undefined when not resolving id --- packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts index eb426330f..3ee04f24b 100644 --- a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts @@ -284,7 +284,7 @@ export function angular(options?: PluginOptions): Plugin[] { )}?raw`; } - return id; + return undefined; }, async transform(code, id) { // Skip transforming node_modules