Skip to content

Commit 8f25fa2

Browse files
committed
test(mf): generate federation dts with fixture tsconfig
1 parent a5fc717 commit 8f25fa2

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

tests/integration/routes-tanstack-mf/mf-host/module-federation.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ export default createModuleFederationConfig({
1212
dev: {
1313
disableDynamicRemoteTypeHints: true,
1414
},
15-
dts: false,
15+
dts: {
16+
generateTypes: {
17+
tsConfigPath: './tsconfig.typecheck.json',
18+
},
19+
},
1620
remotes: {
1721
remote: 'tanstackRemote@http://localhost:3010/mf-manifest.json',
1822
remote2: 'tanstackRemote2@http://localhost:3012/mf-manifest.json',

tests/integration/routes-tanstack-mf/mf-remote-2/module-federation.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ export default createModuleFederationConfig({
1212
dev: {
1313
disableDynamicRemoteTypeHints: true,
1414
},
15-
dts: false,
15+
dts: {
16+
generateTypes: {
17+
tsConfigPath: './tsconfig.typecheck.json',
18+
},
19+
},
1620
filename: 'remoteEntry.js',
1721
exposes: {
1822
'./Panel': './src/components/Panel.tsx',

tests/integration/routes-tanstack-mf/mf-remote/module-federation.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ export default createModuleFederationConfig({
1212
dev: {
1313
disableDynamicRemoteTypeHints: true,
1414
},
15-
dts: false,
15+
dts: {
16+
generateTypes: {
17+
tsConfigPath: './tsconfig.typecheck.json',
18+
},
19+
},
1620
filename: 'remoteEntry.js',
1721
exposes: {
1822
'./Widget': './src/components/Widget.tsx',

0 commit comments

Comments
 (0)