Skip to content

Commit 2ea5b04

Browse files
chore: references dashboard deploy
1 parent 217dac5 commit 2ea5b04

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

apps/bytebank/module-federation.config.ts

+1-16
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,7 @@ import { ModuleFederationConfig } from '@nx/module-federation';
22

33
const config: ModuleFederationConfig = {
44
name: 'bytebank',
5-
/**
6-
* To use a remote that does not exist in your current Nx Workspace
7-
* You can use the tuple-syntax to define your remote
8-
*
9-
* remotes: [['my-external-remote', 'https://nx-angular-remote.netlify.app']]
10-
*
11-
* You _may_ need to add a `remotes.d.ts` file to your `src/` folder declaring the external remote for tsc, with the
12-
* following content:
13-
*
14-
* declare module 'my-external-remote';
15-
*
16-
*/
17-
remotes: ['dashboard'],
5+
remotes: [['dashboard', 'https://main.d2uexl1wva9mc9.amplifyapp.com/']],
186
};
197

20-
/**
21-
* Nx requires a default export of the config to allow correct resolution of the module federation graph.
22-
**/
238
export default config;

projects/dashboard/src/remotes.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module 'dashboard'

0 commit comments

Comments
 (0)