Open OvermindDL1 opened 3 years ago
For note, replacing module.exports = halfmoon;
with export default halfmoon;
was sufficient enough for me to use it, if not correct (since it just put everything in the default export as an object instead of as their own individual imports).
It looks like
halfmoon-module.js
is not actually a mobule, it instead seems to be trying to lookup amodule
in its global scope, which doesn't exist.Seems this may be a CommonJS file perhaps, but its not a module, so is the file misnamed or is
import
'ing it not actually the right way from a javascript module, and if not then how is it supposed to be imported into a javascript module?