From 2264379adf09153697148e34b9dc84a91cf13e51 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 4 Dec 2023 14:58:39 +0000 Subject: [PATCH] chore: use module-builder stub mode for more accurate types --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e9dd2f4..94538d1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "prepack": "nuxt-module-build", "dev": "nuxi dev playground", "dev:build": "nuxi build playground", - "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", + "dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground", "test": "yarn dev:prepare && vitest run test", "lint": "eslint --ext .js,.ts,.vue .", "lint:fix": "eslint --fix --ext .js,.ts,.vue .", diff --git a/tsconfig.json b/tsconfig.json index c4f2839..cb3b1e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "./playground/.nuxt/tsconfig.json" + "extends": "./.nuxt/tsconfig.json" } \ No newline at end of file