Why do I this error below, for this node module?
Uncaught TypeError: (0 , _docready2.default) is not a function
at Object.1.docready (bundle.min.js:32)
My main file:
import docReady from 'docready';
docReady(function() {
console.log("DOM is ready. Let's party");
});