I\'m building a node app, and inside each file in .js used to doing this to require in various packages.
let co = require(\"co\");
But gett
For those coming here in this age, here is a simple solution to this issue. It at least worked for me in the backend. I haven't checked with the frontend code.
Just add:
export {};
at the top of your code.
Credit to EUGENE MURAVITSKY