Skip to content

Commit b395ed7

Browse files
committed
Remove unused animations package
We don't use the animations package whatsoever, and it's officially recommended by the Angular project to migrate away from it to native CSS animations. See https://angular.dev/guide/animations/migration. Removing reference to animations also shaves off 63.46 kB in our initial bundle size, so that's a bonus.
1 parent 75342df commit b395ed7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/app.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import { provideHttpClient, withInterceptors } from '@angular/common/http';
66
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
7-
import { provideAnimations } from '@angular/platform-browser/animations';
87

98
import { AppRoutingModule } from './app-routing.module';
109
import { unauthorizedInterceptor } from './unauthorized.interceptor';
@@ -13,7 +12,6 @@ import { withCredentialsInterceptor } from './with-credentials.interceptor';
1312
export const appConfig: ApplicationConfig = {
1413
providers: [
1514
importProvidersFrom(AppRoutingModule),
16-
provideAnimations(),
1715
provideHttpClient(withInterceptors([unauthorizedInterceptor, withCredentialsInterceptor])),
1816
],
1917
};

0 commit comments

Comments
 (0)