DRincs-Productions / pixi-vn

Create visual novels with a modern 2D rendering engine and your favorite JavaScript framework.
https://pixi-vn.web.app/
GNU General Public License v3.0
10 stars 0 forks source link

fix Pixi.js import in codepen #209

Closed BlackRam-oss closed 3 weeks ago

BlackRam-oss commented 4 weeks ago

codepen can be used to add examples to the wiki

https://codepen.io/BlackRam-oss/pen/oNrqgNd

image

To fix it I think I have to import all the Pixi.js features with:

import * as PIXI from "pixi.js"

BlackRam-oss commented 3 weeks ago

https://github.com/egoist/tsup/issues/619

BlackRam-oss commented 3 weeks ago

https://sandpack.codesandbox.io/docs/guides/local-dependencies