{"version":3,"file":"index.cjs","sources":["../../src/devtool/index.ts"],"sourcesContent":["import { overlayPlugin } from './overlayPlugin';\nimport { propertiesPlugin } from './propertiesPlugin';\nimport { treePlugin } from './treePlugin';\n\nexport * from './overlayPlugin';\nexport * from './propertiesPlugin';\nexport * from './treePlugin';\n\ninterface Devtools {\n    __PIXI_DEVTOOLS__: {\n        extensions: any[];\n    };\n}\nconst gThis = globalThis as unknown as Devtools;\n\n// Add the plugins to the global devtools object\ngThis.__PIXI_DEVTOOLS__ = {\n    ...gThis.__PIXI_DEVTOOLS__,\n    extensions: [...(gThis.__PIXI_DEVTOOLS__?.extensions ?? []), overlayPlugin, propertiesPlugin, treePlugin],\n};\n"],"names":["overlayPlugin","propertiesPlugin","treePlugin"],"mappings":";;;;;;AAaA,MAAM,QAAQ;AAGd,MAAM,oBAAoB;AAAA,EACtB,GAAG,MAAM;AAAA,EACT,YAAY,CAAC,KAAI,WAAM,sBAAN,mBAAyB,eAAc,IAAKA,cAAAA,eAAeC,iBAAAA,kBAAkBC,WAAU,UAAA;AAC5G;;;;;"}