Is your feature request related to a problem? Please describe.
There is a bug in Vite that prevents the compilation of multi-threaded code in the codecs (See #19). This may take a long time to be fixed.
In the interim the codecs can not be easily used in Vite and Nuxt projects without installing a separate package.
Describe the solution you'd like
The multi-threaded codecs, AVIF, JXL and oxipng could include a single-thread module that can be imported and be compatible with Vite and Nuxt Projects.
E.g.
import { optimise } from '@jsquash/oxipng/single-thread';
Is your feature request related to a problem? Please describe.
There is a bug in Vite that prevents the compilation of multi-threaded code in the codecs (See #19). This may take a long time to be fixed.
In the interim the codecs can not be easily used in Vite and Nuxt projects without installing a separate package.
Describe the solution you'd like
The multi-threaded codecs, AVIF, JXL and oxipng could include a
single-thread
module that can be imported and be compatible with Vite and Nuxt Projects.E.g.
Describe alternatives you've considered N/A