-
Notifications
You must be signed in to change notification settings - Fork 49
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
Help importing project into node js project #69
Comments
Related to #59 This is because we don't provide a CommonJS bundle yet. We're planning to add one soon-ish. For now, you'll have to use dynamic // Import actual package
const Psd = await import('@webtoon/psd') |
When will the commonjs version be released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm attempting to import the library into a node js project and I'm getting some errors. I'm working on getting up to speed on all things node js but I am able to use other libraries using requires. I'm also using Typescript.
At the top of module,
myclass.ts
I have:import Psd from "@webtoon/psd";
This generates this error:
It doesn't make sense to me what to do with that information.
The text was updated successfully, but these errors were encountered: