From c94443eabedbbf8e9bdd4c970cf46e8da54015d3 Mon Sep 17 00:00:00 2001 From: Sadegh Barati Date: Mon, 22 Jan 2024 20:06:03 +0330 Subject: [PATCH] chore: fix `vue-sonner` Unknown file extension ".css" (#302) --- apps/www/.vitepress/config.mts | 3 +++ apps/www/src/public/registry/styles/default/calendar.json | 2 +- apps/www/src/public/registry/styles/default/separator.json | 2 +- apps/www/src/public/registry/styles/new-york/calendar.json | 2 +- apps/www/src/public/registry/styles/new-york/separator.json | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/www/.vitepress/config.mts b/apps/www/.vitepress/config.mts index c4958ec1..48579d2b 100644 --- a/apps/www/.vitepress/config.mts +++ b/apps/www/.vitepress/config.mts @@ -86,5 +86,8 @@ export default defineConfig({ '@': path.resolve(__dirname, '../src'), }, }, + ssr: { + noExternal: ['vue-sonner'], + }, }, }) diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index bae081a3..a538ad69 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/separator.json b/apps/www/src/public/registry/styles/default/separator.json index b4a8cae3..0b0b92a2 100644 --- a/apps/www/src/public/registry/styles/default/separator.json +++ b/apps/www/src/public/registry/styles/default/separator.json @@ -7,7 +7,7 @@ "files": [ { "name": "Separator.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index 3adbb0b1..07a8dec2 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/separator.json b/apps/www/src/public/registry/styles/new-york/separator.json index b4a8cae3..0b0b92a2 100644 --- a/apps/www/src/public/registry/styles/new-york/separator.json +++ b/apps/www/src/public/registry/styles/new-york/separator.json @@ -7,7 +7,7 @@ "files": [ { "name": "Separator.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts",