Skip to content

Commit

Permalink
chore: fix deployment (#42)
Browse files Browse the repository at this point in the history
Fixes #34.

Prepare is not the correct hook as discussed in nuxt/starter#156.
  • Loading branch information
tobiasdiez committed Mar 4, 2023
1 parent 87077b5 commit 12266e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"dist"
],
"scripts": {
"prepare": "nuxt-module-build --stub && nuxi prepare playground",
"postinstall": "nuxt-module-build --stub && nuxi prepare playground",
"prepack": "nuxt-module-build && cp src/graphql-server.d.ts dist",
"build": "pnpm prepack",
"dev": "nuxi dev playground",
Expand Down

0 comments on commit 12266e9

Please sign in to comment.