-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Npm export error #14
Comments
The path |
I'm currently using Rollup/Snowpack to bundle atm. Here's how im importing. which seems to work this way, compared to how pixi gets imported.
which actually still gets me this error
Though I did a quick search on the second problem might needing some semicolons? |
Alright, I realized that "strange" path was generated by Snowpack. The first problem seems to be an incompatibility between Snowpack and commonjs modules, there's a related issue with possible solutions. I will consider releasing both the commonjs module and ES module in the future. And for the second, it's because Pixi has suddenly obsoleted the |
Thanks! yup. Updating PIXI to 5.2.4 worked. |
I'm getting around it right now by just importing the whole thing, but thought I'd bring it up.
The text was updated successfully, but these errors were encountered: