소스 검색

feat: create iife bundle

Sven 1 년 전
부모
커밋
55459543a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"