Keydonix / liquid-long

The Unlicense
8 stars 1 forks source link

Publish ES2015 module. #72

Open MicahZoltu opened 5 years ago

MicahZoltu commented 5 years ago

ES2015 is now available in all browsers. The JavaScript library should, ideally, publish an ES2015 module version and reference it in in package.json in the module property (a peer to main property). The hard part here is that the testing infrastructure is run in NodeJS, which doesn't support module tag yet from what I can tell. This means we would need to rebuild the testing infrastructure to execute in a browser, or fallback to testing the code directly rather than testing the module as a whole (means increased chance of build breaking something).