SantosR Posted March 6, 2020 Share Posted March 6, 2020 I have this small lab project that I've been managing to work locally without using a bundler. My index.html is importing pixi from CDN but the type definitions are coming from node_modules (I added "pixi.js" to "types" in my tsconfig, so I get static typing). It was all looking good till I tried adding pixi-filters into the equation. I'm also adding it to my html through CDN and installing it via NPM, and added "pixi-filters" to my tsconfig. It seems to work in part, but for some reason the types do not match the code. For example in the type definition for "AdvancedBloomFilter" has no namespace, but in the actual code it is PIXI.filters.AdvancedBloomFilter ?. Is it possible to get a working setup without having to use a bundler? Thanks in advance. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
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.