All you would have to do is prepend export default to the main file and it would me much easier to use with npm managed projects. you could name it 'q5.esm.js' or something, but I would recommend pointing the package.jsonmain filed to this version and it would work out of the box with node.
All you would have to do is prepend
export default
to the main file and it would me much easier to use with npm managed projects. you could name it 'q5.esm.js' or something, but I would recommend pointing thepackage.json
main
filed to this version and it would work out of the box with node.