File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const { withNx } = require('@nx/next/plugins/with-nx');
22const NextFederationPlugin = require ( '@module-federation/nextjs-mf' ) ;
33
44/**
5- * @type {import('@nrwl /next/plugins/with-nx').WithNxOptions }
5+ * @type {import('@nx /next/plugins/with-nx').WithNxOptions }
66 **/
77const nextConfig = {
88 nx : {
@@ -39,8 +39,8 @@ const nextConfig = {
3939 './menu' : './components/menu' ,
4040 } ,
4141 shared : {
42- lodash : { } ,
43- antd : { } ,
42+ ' lodash/' : { } ,
43+ ' antd/' : { } ,
4444 } ,
4545 extraOptions : {
4646 debug : false ,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const Home = () => {
9393 < td >
9494 Load federated component from checkout with old antd version
9595 </ td >
96- < td > [Button from antd@4.20.0 ]</ td >
96+ < td > [Button from antd@4.24.15 ]</ td >
9797 < td >
9898 < Suspense fallback = "loading ButtonOldAnt" >
9999 < ButtonOldAnt />
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ const nextConfig = {
3131 './menu' : './components/menu' ,
3232 } ,
3333 shared : {
34- lodash : { } ,
35- antd : { } ,
34+ ' lodash/' : { } ,
35+ ' antd/' : { } ,
3636 } ,
3737 extraOptions : {
3838 exposePages : true ,
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ const nextConfig = {
3030 './menu' : './components/menu' ,
3131 } ,
3232 shared : {
33- lodash : { } ,
34- antd : { } ,
33+ ' lodash/' : { } ,
34+ ' antd/' : { } ,
3535 } ,
3636 extraOptions : {
3737 exposePages : true ,
You can’t perform that action at this time.
0 commit comments