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).
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 themodule
property (a peer tomain
property). The hard part here is that the testing infrastructure is run in NodeJS, which doesn't supportmodule
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).