Skip to content

Commit

Permalink
feat: add rspack dynamic import configuration to rsbuild (#3819)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaikumar-bruno authored Jan 16, 2025
1 parent 2bce9b3 commit e5d7cd1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/bruno-app/rsbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
},
}
});

0 comments on commit e5d7cd1

Please sign in to comment.