feat: add rspack dynamic import configuration to rsbuild (#3819)

This commit is contained in:
Sanjai Kumar
2025-01-16 20:11:49 +05:30
committed by GitHub
parent 2bce9b3716
commit e5d7cd1be9

View File

@@ -24,4 +24,16 @@ export default defineConfig({
html: {
title: 'Bruno'
},
tools: {
rspack: {
module: {
parser: {
javascript: {
// This loads the JavaScript contents from a library along with the main JavaScript bundle.
dynamicImportMode: "eager",
},
},
},
},
}
});