uri-template-router
uri-template-router copied to clipboard
[Improvement] Module type
Hi again,
Since a router can be used both in front/back, it can be useful to use it as a ES6 module, preferably without any package bundling requirement.
Any chance to make it as an ES6 module?
@Lcfvs Is that well supported by Web browsers and Node.js these days? I'm really not sure what the advantage is over e.g. Browserify
@awwright [email protected] already supports the ES modules For the browsers: https://caniuse.com/#search=module
Browserify, Webpack, Parcel & others are fine, but the it's a few boring to be forced to use them where the modern features provide a way to load our resources without that extra process.