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
Uncaught TypeError: (0 , _createTheme.default) is not a function
at bundle.js:14953:92
at bundle.js:17882:3
Additional Information
_createTheme seems to have a dubbel wrapped default, there is a default in createTheme$1 but another one is added by _interopRequireDefault. As a result _createTheme.default is not a function, but _createTheme.default.default is.
for the commonjs plugin, but I was hoping that "auto" would take care of this. Noe that the example uses MaterialUI as an example but I have also seen it with other libraries.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Created bundle can be run without errors
Actual Behavior
An error occurs when the bundle is loaded:
Additional Information
_createTheme
seems to have a dubbel wrapped default, there is adefault
increateTheme$1
but another one is added by_interopRequireDefault
. As a result_createTheme.default
is not a function, but_createTheme.default.default
is.I can workaround it by specifying:
for the commonjs plugin, but I was hoping that "auto" would take care of this. Noe that the example uses MaterialUI as an example but I have also seen it with other libraries.
The text was updated successfully, but these errors were encountered: