Skip to content

Commit d121c3a

Browse files
Merge pull request #8 from hallisonbrancalhao/feature/auth
chore: shared deps
2 parents 33d37e5 + baac780 commit d121c3a

File tree

5 files changed

+3901
-2046
lines changed

5 files changed

+3901
-2046
lines changed

Diff for: apps/bytebank/module-federation.config.ts

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ import { ModuleFederationConfig } from '@nx/module-federation';
33
const config: ModuleFederationConfig = {
44
name: 'bytebank',
55
remotes: ['dashboard', 'institutional'],
6+
shared: (libraryName, defaultConfig) => {
7+
if (libraryName.includes(`@apollo/client/`)) {
8+
return {
9+
...defaultConfig,
10+
version: '3.13.5',
11+
}
12+
}
13+
return defaultConfig;
14+
},
615
};
716

817
export default config;

Diff for: apps/bytebank/project.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"polyfills": ["zone.js"],
1717
"tsConfig": "apps/bytebank/tsconfig.app.json",
1818
"inlineStyleLanguage": "scss",
19+
"allowedCommonJsDependencies": ["rehackt", "lodash"],
1920
"assets": [
2021
{
2122
"glob": "**/*",

0 commit comments

Comments
 (0)