Ver código fonte

feat: create iife bundle

Sven 1 ano atrás
pai
commit
55459543a8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -7,7 +7,7 @@
   "types": "dist/index.d.ts",
   "scripts": {
     "lint": "tsc && eslint .",
-    "build-common": "tsup lib/index.ts --format cjs,esm --dts --clean --treeshake",
+    "build-common": "tsup lib/index.ts --format cjs,esm,iife --dts --clean --treeshake",
     "build": "npm run build-common -- --minify",
     "dev": "npm run build-common -- --sourcemap --watch",
     "publish-package": "npm run build && changeset publish"