-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add AMD support #53
Comments
Sorry, my fault, bad |
In order to use requirejs.config({
paths: {
'pixi': '../node_modules/pixi.js/dist/pixi.min',
'pixi-sound': '../node_modules/pixi-sound/dist/pixi-sound'
},
shim: {
'pixi-sound': {
deps: ['pixi']
}
}
}) |
@bigtimebuddy Perhaps, this can be added to wiki or readme in order to prevent similar issues from creating. |
Will do! Thanks for investigating. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is more requirement rather than a feature request.
Lets take a look at pixi-plugin-example. As you can see, at this lines plugin have to be attached to global
PIXI
variable as well as to be exported as a standalone module with its dependencies. At some point, this repo\plugin brokes one of the main approaches of howpixi.js
is functioning.Currently, there are a lot of module loaders that are built on top of AMD. I'm one of that users. Solution for me could be:
pixi-sound
with some other sound library that is not part ofpixi-*
package.The text was updated successfully, but these errors were encountered: