Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Module type #3

Open
Lcfvs opened this issue Nov 27, 2019 · 2 comments
Open

[Improvement] Module type #3

Lcfvs opened this issue Nov 27, 2019 · 2 comments

Comments

@Lcfvs
Copy link
Contributor

Lcfvs commented Nov 27, 2019

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?

@awwright
Copy link
Owner

@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

@Lcfvs
Copy link
Contributor Author

Lcfvs commented Nov 28, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants