Skip to content

Commit

Permalink
fix: add common Angular libraries for ssr transform (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Jun 23, 2023
1 parent 8c5e13b commit 4ef3872
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/platform/src/lib/router-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ export function routerPlugin(): Plugin[] {
config() {
return {
ssr: {
noExternal: ['@analogjs/**', '@angular/**'],
noExternal: [
'@analogjs/**',
'@analogjs/trpc/**',
'@angular/**',
'@angular/cdk/**',
'@angular/fire/**',
'@ngrx/**',
'@rx-angular/**',
'@ng-bootstrap/**',
'@ngneat/**',
'apollo-angular/**',
'primeng/**',
],
},
optimizeDeps: {
exclude: ['@angular/platform-server', '@analogjs/router'],
Expand Down

0 comments on commit 4ef3872

Please sign in to comment.