Package as ES6 Module (ESM)
benmccann opened this issue · 3 comments
benmccann commented
The modern way to package JavaScript libraries is as ES6 modules. Unbundled development tools like Snowpack and Vite only work with ESM. While they can accept the CommonJS format that Blurhash provides today, they must first convert the package to ESM which makes it take longer for your development server to startup