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

Add extensions to import statements #347

Open
phaux opened this issue Sep 24, 2017 · 0 comments
Open

Add extensions to import statements #347

phaux opened this issue Sep 24, 2017 · 0 comments

Comments

@phaux
Copy link

phaux commented Sep 24, 2017

...so that the library can be consumed natively using JS modules

export { symbols } from './src/symbols';
export { notifications } from './src/notifications';
export { importNode } from './src/node_data';
// should become
export { symbols } from './src/symbols.js';
export { notifications } from './src/notifications.js';
export { importNode } from './src/node_data.js';
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

1 participant