From b2f2662f9b993a696d6252809253979956de7c89 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 30 Nov 2023 17:26:23 +0100 Subject: [PATCH] feat: try to speed up container start up time --- templates/basic/.layer-playground/nuxt.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/basic/.layer-playground/nuxt.config.ts b/templates/basic/.layer-playground/nuxt.config.ts index 155caa4f..8be0ad95 100644 --- a/templates/basic/.layer-playground/nuxt.config.ts +++ b/templates/basic/.layer-playground/nuxt.config.ts @@ -2,6 +2,18 @@ import { defineNuxtConfig } from 'nuxt/config' export default defineNuxtConfig({ devtools: { enabled: false }, + ssr: false, + vite: { + warmupEntry: false, + optimizeDeps: { + include: [ + 'birpc', + 'ufo', + 'ofetch', + 'defu', + ], + }, + }, typescript: { includeWorkspace: true, tsConfig: {