add browser dist

This commit is contained in:
Metazla
2024-04-08 16:13:08 +02:00
parent 14ba90f521
commit 6123e10c07
67 changed files with 538 additions and 254 deletions
+8 -4
View File
@@ -21,13 +21,17 @@
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./index.async": {
"import": "./dist/index.async.js",
"require": "./dist/index.async.cjs"
"./index-interface": {
"import": "./dist/index-interface.js",
"require": "./dist/index-interface.cjs"
},
"./index-browser": {
"import": "./dist/index-browser.js",
"require": "./dist/index-browser.cjs"
}
},
"scripts": {
"build": "cross-env rimraf dist & tsup",
"build": "cross-env rimraf ./dist & tsup",
"ci": "yarn run coverage",
"test": "vitest"
},