diff --git a/vite.config.ts b/vite.config.ts index c02871d0..82612d0a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,8 @@ export default createLibConfig({ index: 'lib/index.ts', }, { libraryFormats: ['es', 'cjs'], + nodeExternalsOptions: { + // Force bundle pure ESM module + exclude: ['is-svg'], + }, })