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
I used to have module in there but I removed it because of incompatibility with CRA at the time. Quite possible it could come back and work now, I need to test that.
But given your workaround it sounds like you need allowSyntheticDefaultImports in your tsconfig.json as that is all about avoiding import * as xx syntax. See here.
Hi there,
I could not get this module to import using webpack in development mode (production might* work). The skeleton used is here: https://github.com/vikpe/react-webpack-typescript-starter
This might have to do with how microbundle works. I found this issue, maybe package.json needs the
module
field?developit/microbundle#19
* = correction
The text was updated successfully, but these errors were encountered: