Skip to content

Commit 19fa633

Browse files
committed
chore: move prepare to build script
1 parent 93e357b commit 19fa633

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/nuxt/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@
5151
"README.md"
5252
],
5353
"scripts": {
54-
"postinstall": "nuxt-module-build prepare",
55-
"build": "nuxt-module-build build",
56-
"dev": "tsup --watch",
54+
"dev:prepare": "nuxt-module-build prepare",
55+
"build": "pnpm run dev:prepare && nuxt-module-build build",
5756
"prepack": "pnpm build",
5857
"prepublishOnly": "pnpm build"
5958
},

0 commit comments

Comments
 (0)