From f75697e3dfdae9b0792f8e8113a0732e91ebc7eb Mon Sep 17 00:00:00 2001 From: Xicri Date: Thu, 11 Jan 2024 13:43:45 +0900 Subject: [PATCH] chore: move `@nuxt/devtools` to `devDependencies` --- nuxt.config.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 1da1d9b5..eedf9a0b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -24,7 +24,7 @@ export default defineNuxtConfig({ "@nuxtjs/i18n", "@nuxtjs/sitemap", "@pinia/nuxt", - "@nuxt/devtools", + ...(isLocal ? [ "@nuxt/devtools" ] : []), "nuxt-simple-robots", ], diff --git a/package.json b/package.json index 0f000a7b..1765da67 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "postinstall": "node ./scripts/postinstall.mjs && nuxt prepare && npm list @playwright/test && playwright install || echo 'Playwright installation skipped.'" }, "dependencies": { - "@nuxt/devtools": "^1.0.6", "@nuxtjs/i18n": "^8.0.0", "@nuxtjs/sitemap": "^5.0.1", "@pinia/nuxt": "^0.5.1", @@ -45,6 +44,7 @@ }, "devDependencies": { "@aws-sdk/client-s3": "^3.332.0", + "@nuxt/devtools": "^1.0.6", "@playwright/test": "^1.14.1", "concurrently": "^8.0.1", "eslint": "latest",