Skip to content

Commit 5449833

Browse files
committed
fix: ensure dist is generated before publishing to npm
1 parent 835b195 commit 5449833

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"dev": "rollup -c -w",
99
"build": "rollup -c",
1010
"format": "prettier --write .",
11-
"postversion": "git push && git push --tags"
11+
"postversion": "git push && git push --tags",
12+
"prepublishOnly": "pnpm build"
1213
},
1314
"repository": {
1415
"type": "git",
@@ -52,4 +53,4 @@
5253
"sass": "^1.85.1",
5354
"tslib": "^2.8.1"
5455
}
55-
}
56+
}

sonner-js-1.1.2.tgz

18.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)