Skip to content

Commit

Permalink
chore: support cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 17, 2024
1 parent 5d1d85a commit ec9c845
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"type": "module",
"main": "lib/index.cjs",
"module": "lib/index.js",
"unpkg": "lib/index.global.js",
"jsdelivr": "lib/index.global.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -34,7 +36,7 @@
"scripts": {
"prepare": "simple-git-hooks",
"dev": "vitest --coverage",
"build": "tsup src/index.ts --format esm,cjs --out-dir=lib --dts --clean",
"build": "tsup src/index.ts --format esm,cjs,iife --out-dir=lib --global-name=Rattail --dts --clean",
"lint": "eslint . --fix --ext .ts,.js",
"format": "prettier --write .",
"clean": "rimraf node_modules lib",
Expand Down

0 comments on commit ec9c845

Please sign in to comment.