|
@@ -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"
|