feat(iife): include engine media

This commit is contained in:
Il Harper 2024-09-07 15:33:57 +08:00
parent 8dd5c6cfba
commit 519145b5a8
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -1,5 +1,6 @@
import * as ccApi from '@chronocat/engine-chronocat-api' import * as ccApi from '@chronocat/engine-chronocat-api'
import * as ccEvent from '@chronocat/engine-chronocat-event' import * as ccEvent from '@chronocat/engine-chronocat-event'
import * as media from '@chronocat/engine-media'
import { chronocat } from '@chronocat/shell' import { chronocat } from '@chronocat/shell'
const octx = chronocat() const octx = chronocat()
@ -7,4 +8,5 @@ const octx = chronocat()
if (octx) { if (octx) {
octx.load(ccApi) octx.load(ccApi)
octx.load(ccEvent) octx.load(ccEvent)
octx.load(media)
} }