Skip to content

Commit e5b8fca

Browse files
committed
fix(nuxt): add prepack to the script
1 parent 88b3933 commit e5b8fca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/nuxt/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
],
3030
"scripts": {
3131
"build": "tsdown",
32-
"watch": "tsdown --watch"
32+
"watch": "tsdown --watch",
33+
"prepack": "pnpm run build"
3334
},
3435
"peerDependencies": {
3536
"@nuxt/kit": "^3.0.0 || ^4.0.0",

0 commit comments

Comments
 (0)