-
Notifications
You must be signed in to change notification settings - Fork 123
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
importing PathParticle #35
Comments
PathParticle is part of an optional submodule, to make the main library lighter for people that don't need it. |
What if I do not want to use the CommonJS syntax (using |
Also using the CommonJS syntax is not working: import * as PIXI from "pixi.js";
require("pixi-particles/dist/modules/path-particle");
This happens around line 63 |
I've published version 2.0.0 which has everything in one output file. |
thank you ;) |
I'm building a pixi videogame using es6 and babel. I've used this boilerplate https://github.com/magnonellie/pixi-boilerplate and I've added
pixi-particles
as dependency.I'm importing pixi and pixi-particles as following:
I've no problem using
PIXI.Container
orPIXI.Particles.Emitter
. ButPIXI.particles.PathParticle
results to beundifined
. How should be included? is it not part of thePIXI.particles
namespaceThe text was updated successfully, but these errors were encountered: