Skip to content

Commit

Permalink
fix(platform): prevent rxfire package from being externalized during …
Browse files Browse the repository at this point in the history
…SSR (#1298)
  • Loading branch information
brandonroberts authored Aug 27, 2024
1 parent 9bec368 commit 89f63a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/platform/src/lib/deps-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ export function depsPlugin(options?: Options): Plugin[] {
config() {
return {
ssr: {
noExternal: ['@analogjs/**', 'firebase/**', 'firebase-admin/**'],
noExternal: [
'@analogjs/**',
'firebase/**',
'firebase-admin/**',
'rxfire',
],
},
optimizeDeps: {
include: [
Expand All @@ -40,6 +45,7 @@ export function depsPlugin(options?: Options): Plugin[] {
'@nx/workspace',
'@nx/eslint',
'webpack',
'fsevents',
],
},
};
Expand Down

0 comments on commit 89f63a4

Please sign in to comment.