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
Hmmmm unfortunately it did not work... For my own use case I decided to go back to pure webpack, with some tweaking to be able to remote load the module.
Hello,
I have a project set up using JSPM 1.7. It imports several custom modules that have been built using webpack with external react as umd :
jspm.config.js looks like this :
When running in dev (I use jspm-server), the modules are correctly exported and react is resolved.
When using the
build
command though, it does not work. Without any change to jspm.config.js, I get this error on build :I edited jspm.config.js, and after that builds succeeds (but in dev this does not work) :
But when running the code, the react module required inside the webpack module is not found :
I tweaked jspm.config.js again like this :
...but I get the same error :
Which is where react is passed to the webpack module :
Is there something I did wrong ?
The text was updated successfully, but these errors were encountered: