From 0a56b3660baaf293e3a0a571dc5a7da172501835 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Sat, 16 Nov 2024 05:59:59 +0800 Subject: [PATCH] docs(migration): add entry for #17922 (#18681) --- docs/guide/migration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/migration.md b/docs/guide/migration.md index fb161a73e..0970bc08e 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -81,6 +81,8 @@ If you prefer to stick with `style.css` like in Vite 5, you can set `build.lib.c There are other breaking changes which only affect few users. +- [[#17922] fix(css)!: remove default import in ssr dev](https://github.com/vitejs/vite/pull/17922) + - Support for default import of CSS files was [deprecated in Vite 4](https://v4.vite.dev/guide/migration.html#importing-css-as-a-string) and removed in Vite 5, but it was still unintentionally supported in SSR dev mode. This support is now removed. - [[#15637] fix!: default `build.cssMinify` to `'esbuild'` for SSR](https://github.com/vitejs/vite/pull/15637) - [`build.cssMinify`](/config/build-options#build-cssminify) is now enabled by default even for SSR builds. - [[#18070] feat!: proxy bypass with WebSocket](https://github.com/vitejs/vite/pull/18070)