feat: add webpack export condition and init type declaration

bump to 0.6.5
This commit is contained in:
2026-06-14 05:30:25 +02:00
parent 2de1b09087
commit ac63099741
5 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ build-all:
exports: { '.': {\
types: './index.d.ts',\
node: { require: './node/$(CRATE).js', import: './node-esm/index.mjs' },\
import: './bundler/$(CRATE).js',\
webpack: './bundler/$(CRATE).js',\
import: './web/$(CRATE).js',\
default: './web/$(CRATE).js'\
}},\
files: ['bundler/', 'web/', 'node/', 'node-esm/', 'index.js', 'index.d.ts', '$(CRATE)_bg.wasm', '$(CRATE)_bg.js', 'README.md', 'LICENSE'],\