External library is failing to load with "__webpack_require__ is not defined" error #2849
Unanswered
iamravisingh
asked this question in
Q&A
Replies: 1 comment
-
Rsbuild allows users to directly modify the Rspack configuration transparently And you can debug the configuration of Rspack through |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Folks,
One of my library
@here/maps-api-for-javascript
use to render a map is falling with below error,__webpack_require__ is not defined
.In our existing CRA project we use to handle this issue with below configuration
https://stackoverflow.com/questions/66159523/webpack-require-is-not-defined-here-map-bundle-doesnt-work
As other libraries do not have such issue, I am assuming it's something related to the library I am using.
Is there a way to handle such a scenario in
rsbuild.config.ts
?Beta Was this translation helpful? Give feedback.
All reactions