Jump to content

angular 9 + pixijs-legacy weirdness


mralbobo
 Share

Recommended Posts

Hey, so I'm seeing some particularly strange loading behavior of pixijs-legacy after updating to angular 9 (using angular-cli as the build tool).

In angular 8, everything was fine, but in 9 when trying to load pixijs-legacy it appears to just... completely ignore the legacy patch and ends up running the normal pixijs. Nothing cavas related is available and if you step through the execution, the auto-detect render code seems to be the non-legacy version. Imports follow the usual syntax

import { Rectangle } from "pixi.js-legacy";

Now... the best part, everything works as expected in a minimal reproduction (angular seed project + pixi import), which makes it hard to report/ debug.

So... mainly I'm just looking for some guidance into how pixi.js-legacy applies the legacy patch in the aid of better debugging. So that I can either work around it, or come up with an actual minimal repro.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...