You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When minifying a project with the minified pixi.js included, AssetLoader.load throws an error: "png is an unsupported file type".
This is because the minifyer used by PIXI strips the quotation marks of the types in loadersByType.
I don't know if this is counted as a bug but it presents a problem when working with browserify and google closure compiler.
The text was updated successfully, but these errors were encountered:
You should not include a minified version of pixi during your minifying process.
Instead, you can try to include the unminified version. That might work. (That's what I do for a project and everything is working fine after a few tweaks, but I'm not using AssetLoader).
The other solution would be to create an extern file for Pixi (I started to build one but this is not complete). And when you minify your code, you specify the extern file so it won't rename PIXI variables.
When minifying a project with the minified pixi.js included, AssetLoader.load throws an error: "png is an unsupported file type".
This is because the minifyer used by PIXI strips the quotation marks of the types in loadersByType.
I don't know if this is counted as a bug but it presents a problem when working with browserify and google closure compiler.
The text was updated successfully, but these errors were encountered: