Skip to content

Commit 5750c0b

Browse files
chore: enable async startup for interop app-03
1 parent 26bc36d commit 5750c0b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

rspack-webpack-interop/app-03/rspack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ module.exports = {
4949
exposes: {
5050
'./Button': './src/Button',
5151
},
52+
experiments: {
53+
asyncStartup: true,
54+
},
5255
shared: {
5356
'react-dom': {
5457
singleton: true,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import('./bootstrap');
1+
import './bootstrap';

rspack-webpack-interop/app-03/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ module.exports = {
5050
exposes: {
5151
'./Button': './src/Button',
5252
},
53+
experiments: {
54+
asyncStartup: true,
55+
},
5356
shared: {
5457
'react-dom': {
5558
singleton: true,

0 commit comments

Comments
 (0)