Skip to content

Commit e5d7cd1

Browse files
feat: add rspack dynamic import configuration to rsbuild (#3819)
1 parent 2bce9b3 commit e5d7cd1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/bruno-app/rsbuild.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,16 @@ export default defineConfig({
2424
html: {
2525
title: 'Bruno'
2626
},
27+
tools: {
28+
rspack: {
29+
module: {
30+
parser: {
31+
javascript: {
32+
// This loads the JavaScript contents from a library along with the main JavaScript bundle.
33+
dynamicImportMode: "eager",
34+
},
35+
},
36+
},
37+
},
38+
}
2739
});

0 commit comments

Comments
 (0)