From cb1406661a69d359a1c2f282f6e13b3a8105d42a Mon Sep 17 00:00:00 2001 From: Rhen Cloud Date: Fri, 16 Jan 2026 14:18:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20Nuxt=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=A5=E7=A6=81=E7=94=A8=20sourcemap=20=E5=B9=B6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20chunk=20=E5=A4=A7=E5=B0=8F=E8=AD=A6?= =?UTF-8?q?=E5=91=8A=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index cacc747..bb49737 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -19,6 +19,16 @@ export default defineNuxtConfig({ vite: { plugins: [tailwindcss()], + build: { + sourcemap: false, + chunkSizeWarningLimit: 1000, + }, + }, + + postcss: { + plugins: { + "@tailwindcss/postcss": {}, + }, }, routeRules: { @@ -59,6 +69,9 @@ export default defineNuxtConfig({ // routes: ["/sitemap.xml", "/rss.xml"], }, minify: true, + externals: { + inline: ["unhead"], + }, }, runtimeConfig: {