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

Webpack #1

Closed
Pandan opened this issue Oct 23, 2016 · 10 comments
Closed

Webpack #1

Pandan opened this issue Oct 23, 2016 · 10 comments

Comments

@Pandan
Copy link

Pandan commented Oct 23, 2016

Hi,
I am trying to setup pixi 4 with webpack.
Actually spent a couple of hours checking out different setups but still can't get it to work.
I had it running good with v3 but as soon I tried switching to v4 it broke.
I am guessing it might be connected to the switch to es6 and the more modular approach.

When I saw your starter project and that you where using v4.0.1 I got my hopes up.
But I can't get it to run, - "Cannot read property 'autoDetectRenderer' of undefined"
It's actually similar to what I have encountered earlier and that the imports does not work correctly.
Any ideas?

@SamirL
Copy link
Owner

SamirL commented Oct 23, 2016

Hi,

I will take a look and get back to you.

@SamirL
Copy link
Owner

SamirL commented Oct 23, 2016

Hi,

It seems there has been a pixi.js update, i will try to take care of it today and push an update.
Thank you for telling me.

@Pandan
Copy link
Author

Pandan commented Oct 23, 2016

Great!
I looked around a bit but haven't found a solution yet.
Here is some information;
pixijs/pixijs#1854
But the different solutions in that thread are a bit old and probably only working for v.3 . None of them worked for me.

@mpinter
Copy link

mpinter commented Oct 24, 2016

+1, I seem to be stuck on the same problem

thanks for looking into it

@SamirL
Copy link
Owner

SamirL commented Oct 24, 2016

Fixed, cleaning up and pushing the update.

@SamirL
Copy link
Owner

SamirL commented Oct 24, 2016

@mpinter @Pandan The fix has been pushed. Let me know if it is working on your side please, thanks !

@Pandan
Copy link
Author

Pandan commented Oct 25, 2016

Sounds great!
I will try todo a test as soon as I can and get back to u!
Great work,

@SamirL
Copy link
Owner

SamirL commented Oct 25, 2016

Perfect thanks !

@SamirL SamirL closed this as completed Oct 30, 2016
@Pandan
Copy link
Author

Pandan commented Oct 31, 2016

Your solution worked!
Here is some more info on the topic.
pixijs/pixijs#3204

@SamirL
Copy link
Owner

SamirL commented Oct 31, 2016

Awesome, thank you for the feedback and the additional info. I will keep track of their implementation and do the necessary changes when possible.

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

No branches or pull requests

3 participants