From 227305bf800cf465f570851aa157c205e7480227 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 12 May 2021 17:59:27 +0200 Subject: [PATCH] fix: avoid depending on typescript-build (#305) --- docs/nuxt.config.ts | 2 +- package.json | 4 ++-- playground/nuxt.config.js | 3 ++- src/app/nuxt.config.ts | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts index a4a3d7256..6e423eb4a 100644 --- a/docs/nuxt.config.ts +++ b/docs/nuxt.config.ts @@ -9,7 +9,7 @@ export default withDocus({ /** * Modules */ - buildModules: ['vue-plausible'], + buildModules: ['vue-plausible', '@nuxt/typescript-build'], /** * Modules config */ diff --git a/package.json b/package.json index c2a4b3ad9..e0abc8dce 100755 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "@docsearch/js": "^1.0.0-alpha.28", "@lokidb/loki": "^2.1.0", "@nuxt/image": "^0.4.8", - "@nuxt/typescript-build": "^2.1.0", "@nuxtjs/color-mode": "^2.0.5", "@nuxtjs/composition-api": "0.23.3", "@nuxtjs/proxy": "^2.1.0", @@ -129,7 +128,8 @@ "eslint-plugin-prettier": "^3.4.0", "prettier": "^2.3.0", "standard-version": "^9.3.0", - "terser": "^5.7.0" + "terser": "^5.7.0", + "@nuxt/typescript-build": "^2.1.0" }, "peerDependencies": { "vuex": "^3.6.2" diff --git a/playground/nuxt.config.js b/playground/nuxt.config.js index 0012c032c..86dcd3103 100644 --- a/playground/nuxt.config.js +++ b/playground/nuxt.config.js @@ -5,5 +5,6 @@ export default withDocus({ rootDir: __dirname, windicss: { root: resolve(__dirname, '..') - } + }, + buildModules: ['@nuxt/typescript-build'] }) diff --git a/src/app/nuxt.config.ts b/src/app/nuxt.config.ts index 1b92e39cb..38081188c 100644 --- a/src/app/nuxt.config.ts +++ b/src/app/nuxt.config.ts @@ -48,7 +48,6 @@ export default nuxtConfig({ buildModules: [ // Dependencies 'nuxt-vite', - '@nuxt/typescript-build', '@nuxtjs/pwa', '@nuxt/image', '@nuxtjs/composition-api/module',