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

ES6 imports #197

Closed
MartijnHarmenzon opened this issue Mar 22, 2023 · 2 comments
Closed

ES6 imports #197

MartijnHarmenzon opened this issue Mar 22, 2023 · 2 comments

Comments

@MartijnHarmenzon
Copy link

Hello all,

Can someone help me getting this tool to work using ES6 imports?
Trying the following

import Graphre from 'graphre';
import nomnoml from 'nomnoml';

Would like to use it like this to combine with Astro.build.

@skanaar
Copy link
Owner

skanaar commented Mar 22, 2023

There is no published es module package unfortunately. Some environments can import CommonJS modules via the import x from y syntax, but I have no experience with Astro.build

@MartijnHarmenzon
Copy link
Author

Thanks for the quick reply. Understood. I will close this issue.

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