From eff770c7e40ce3eb6fe3fe523596c672f1f4fb8c Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Tue, 7 Jan 2025 07:51:42 -0600 Subject: [PATCH] revert: Revert "fix(vite-plugin-angular): fix HMR of component styles" (#1544) --- packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts | 1 - 1 file changed, 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 cec328932..f8d0d609a 100644 --- a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts @@ -714,7 +714,6 @@ export function angular(options?: PluginOptions): Plugin[] { if (pluginOptions.liveReload) { tsCompilerOptions['_enableHmr'] = true; - tsCompilerOptions['externalRuntimeStyles'] = true; // Workaround for https://github.com/angular/angular/issues/59310 // Force extra instructions to be generated for HMR w/defer tsCompilerOptions['supportTestBed'] = true;