Always load Ruffle from CDN and add it as a dependency

This commit has a long story behind it.
Removes Ruffle from /scripts/ and instead always loads the installed version from unpkg, Ruffle's preferred CDN.
This requires having unpkg in the CORS rules.
Ruffle is also loaded from the CDN in dev mode. To help with this an externalPackages array has been added to the vite dev config.

Co-authored-by: Julia Johannesen <julia@insertdomain.name>
This commit is contained in:
CenTdemeern1 2024-10-15 21:11:55 +02:00
parent f137101b90
commit 051073a046
18 changed files with 171 additions and 760 deletions

611
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff