Skip to content

Commit 5f37959

Browse files
committed
Fixes the dist folder not being in the npm package
The prepare scripts runs after npm i and before publish ensuring the dist folder is present
1 parent b976dfc commit 5f37959

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"main": "dist/astar.js",
1818
"types": "dist/astar.d.ts",
1919
"scripts": {
20+
"prepare": "tsc",
2021
"build": "tsc",
2122
"run-example": "cd example && yarn install && yarn run dev"
2223
},

0 commit comments

Comments
 (0)