To demo the bug in pixijs/pixijs#6445
- clone this gist
git clone [email protected]:JacobFischer/pixi-ts-global-error.git
npm install
npm run build
- This should create a
dist/
directory, load updist/index.html
in a browser - see the following error in the console:
Uncaught ReferenceError: PIXI is not defined
at eval (index.ts:5)
at Object../index.ts (index_bundle.js:96)
at __webpack_require__ (index_bundle.js:20)
at index_bundle.js:84
at index_bundle.js:87