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

Support ES modules #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

omaraltayyan
Copy link

as discussed in #1 this allows this package to be used in webpack

i created a new file that exports the class while keeping the old one for demos

@omaraltayyan
Copy link
Author

now what we can do is

import ProtParam from "molecular_weight/src/js/calculation/protparam";

and use this class directly

@ErwinP
Copy link

ErwinP commented Oct 10, 2022

Hi,
I know it has been a long time and I'm not an expert, how how exactly do you serve it into webpack?

Thank you in advance,
Erwin

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

Successfully merging this pull request may close these issues.

None yet

2 participants