Skip to content

Commit

Permalink
fix: can't get rspack util in tools.rspack (#4950)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Nov 15, 2023
1 parent 0e975ef commit dc80bbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/modern-berries-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@modern-js/builder-rspack-provider': patch
---

hotfix(rspack-provider): can't get rspack util in tools.rspack
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function getConfigUtils(
chainUtils: ModifyChainUtils,
): Promise<ModifyRspackConfigUtils> {
const { merge } = await import('@modern-js/builder-shared/webpack-merge');
const { default: rspack } = await import('@rspack/core');
const rspack = await import('@rspack/core');

return {
...chainUtils,
Expand Down

0 comments on commit dc80bbc

Please sign in to comment.