You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zlppassion
changed the title
[Bug]: AMD Module Loading Failure: Monaco Editor Not Working in Rspack
[Bug]: AMD Module Require Loading Failure
Jan 13, 2025
zlppassion
changed the title
[Bug]: AMD Module Require Loading Failure
[Bug]: amd module require compile result different from webpack 5
Jan 13, 2025
System Info
After migrating from Webpack to Rspack, Monaco Editor fails to load properly. Specifically, the 'monaco-editor' module cannot be found.
Steps to Reproduce:
Migrate from Webpack to Rspack
Run the project, get error: 'monaco-editor' module not found
Details
runtime-amis-v2.6-umd 2.zip
source code: amis-ui/lib/components/Editor
Code Comparison:
Webpack Output (Working):
Rspack Output (Not Working):
Expected Behavior:
Rspack should generate similar async chunks for AMD modules as Webpack does, specifically:
Reproduce link
No response
Reproduce Steps
pnpm i
pnpm run build
The text was updated successfully, but these errors were encountered: