فهرست منبع

fix: separate build-iife script

Sven 1 سال پیش
والد
کامیت
0e569f5abb
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      package.json

+ 2 - 1
package.json

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