File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,7 @@ const pagesExternals = [
2121]
2222
2323const appExternals = [
24- // Externalize the react-dom/server legacy implementation outside of the runtime.
25- // If users are using them and imported from 'react-dom/server' they will get the external asset bundled.
26- 'next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js' ,
27- 'next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js' ,
28- 'next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js' ,
29- 'next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js' ,
24+ // Don't externalize next/dist/compiled/react-dom since it may require('react-dom') which would use the installed React version
3025]
3126
3227function makeAppAliases ( reactChannel = '' ) {
You can’t perform that action at this time.
0 commit comments