Skip to content

Commit

Permalink
fix(react): host generate should include remotes.d.ts for server (#13710
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Coly010 committed Dec 8, 2022
1 parent bb32f02 commit 977ff7e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "./tsconfig.app.json",
"compilerOptions": {
"outDir": "../../out-tsc/server",
"target": "es2019",
"types": [
"node"
]
},
"include": [
"src/remotes.d.ts",
"src/main.server.tsx",
"server.ts"
]
}
2 changes: 1 addition & 1 deletion packages/react/src/generators/host/host.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('hostGenerator', () => {
types: ['node'],
},
extends: './tsconfig.app.json',
include: ['src/main.server.tsx', 'server.ts'],
include: ['src/remotes.d.ts', 'src/main.server.tsx', 'server.ts'],
});
});
});

0 comments on commit 977ff7e

Please sign in to comment.