Skip to content

Commit 66d964e

Browse files
Single runtime chunk (#3847)
* update * update * feat: single runtime chunk support * feat: single runtime chunk support * move server to server to rspack * single runtime chunk * update rspack * update rspack * locks * locks * update modernjs to enhanced * fix single runtime for rspack * fix single runtime for rspack * fix single runtime for rspack * fix single runtime for rspack --------- Co-authored-by: ScriptedAlchemy <[email protected]>
1 parent 09285b5 commit 66d964e

File tree

26 files changed

+1396
-398
lines changed

26 files changed

+1396
-398
lines changed

advanced-api/dynamic-remotes/app1/rspack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ module.exports = {
5252
shareScope: 'default', // share scope with this name will be used
5353
singleton: true, // only a single version of the shared module is allowed
5454
},
55+
'react/jsx-dev-runtime': {},
5556
'react-dom': {
5657
singleton: true, // only a single version of the shared module is allowed
5758
},

advanced-api/dynamic-remotes/app2/rspack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151
},
5252
shared: {
5353
moment: deps.moment,
54+
'react/jsx-dev-runtime': {},
5455
react: {
5556
requiredVersion: deps.react,
5657
import: 'react', // the "react" package will be used a provided and fallback module

0 commit comments

Comments
 (0)