Enable importing ES2015 ("fake es module") libraries
Note: After hours of research, I still feel I didn't understand the differences between old-style a.k.a. cjs
modules (module.exports
), "fake es modules" and "modern es modules". But there are some bits of information that I want to collect here to get a clearer picture.
Problem: I can't use the library "fp-ts-std". dev
breaks with