Ricky Posted June 23, 2021 Share Posted June 23, 2021 (edited) Hi guys, any ideas on how to disable the pixijs devtool on production enviroment? Thank you in advance Riccardo Edited June 23, 2021 by Ricky change text Quote Link to comment Share on other sites More sharing options...
Ricky Posted June 23, 2021 Author Share Posted June 23, 2021 @ivan.popelyshev you are the master, have some ideas? ? Quote Link to comment Share on other sites More sharing options...
Exca Posted June 24, 2021 Share Posted June 24, 2021 The pixi devtools is a plugin for chrome devtools. All of it runs outside of your code base. If I remember right the inspector just tries to find the PIXI global object and injects itself to that. So one solution would be to hide that. I have one project with ts/webpack using imports to include pixi stuff and in that the inspector doesn't come up unless it's specifically set up to do so. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 24, 2021 Share Posted June 24, 2021 dont put PIXI in window and maybe it wont find the root ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.