Sign in to follow this  
NoleDjok

warning with import spine

Recommended Posts

Hello. I added pixi.js-legasy in webpack plugin, after that i write pixi global window.PIXI = PIXI and import pixi-spine. Spine works correctly, but there is warning.

image.png.26f914b4222116eb7582a26144c6bdad.png

 

image.png.4f60648252e070a37e661ad662d2d882.png

image.png.b9f7d01c374af656d815e2af2ece0bc8.png

How can I fix it?

Share this post


Link to post
Share on other sites
On 7/28/2020 at 1:58 PM, ivan.popelyshev said:

Hello!

Yes, its an echo of a big problem - we still cannot make plugins that are 100% compatible with ES5, ES6 imports and Typescript. If we drop vanilla support e.g. <script src= ... > , everything will be fine, but most of big pixi users depend on it.

Thanks for response.  it's really a problem, unfortunately. All project in WARNINGS :(

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.