Skip to content

v0.2.3

tagged this 21 Oct 12:35
- Bump version from 0.2.2 to 0.2.3 in package.json
- Update @types/node to ^24.19.2
- Add esbuild as a dev dependency
- Upgrade vite to ^8.3.5 and vite-plugin-dts to ^5.1.2
- Upgrade vitest to ^5.0.5

test: refine type for onProgressMock in mp4-file-source.test.ts

- Change type of onProgressMock to Mock<(loaded: number, total: number) => void>

build: enhance Vite configuration for library and demo

- Update import paths for vite-plugin-worklet to include .ts extension
- Use import.meta.dirname for resolving paths in vite.config.lib.ts and vite.config.ts
- Set target to es2020 in library build configuration
- Adjust output directories for library and demo builds

fix: ensure correct handling of import.meta.url in worker builds

- Define import.meta.url to self.location.href to maintain compatibility with CJS output
Assets 2
Loading