Answer the question
In order to leave comments, you need to log in
Does webpack wrap esm imports in an object?
Hello!
After adding type: module to package.json, redux-thunk stopped working.
I connect like this:
console.log(thunk) displays the following:
import thunk from "redux-thunk";
{
default: [Function: middleware] {
withExtraArgument: [Function: createThunkMiddleware]
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question