Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Import error using Typescript + web-dev-server to resolve bare imports

$
0
0

I just updated to v6.2.0 and I am now trying to get bare imports working with web-dev-server.  I'm sorry if it's a bit out of PIXI scope, but I believe others using this library might run or have ran into the same problem. 

I'm running into this error coming from @pixi/polyfill package as it tries to import the object-assign dependency:

polyfill.js:9 Uncaught SyntaxError: The requested module './../../../../object-assign/index.js' does not provide an export named 'default'


Apparently the problem is with the "export ="  syntax being used in that dependency. Any guidance on how to deal with this issue?

Thanks in advance,


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>