From 560b001dbf9d51c3347ec03becce950869e0ad35 Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Fri, 10 Jun 2022 23:52:44 +0900 Subject: [PATCH] docs: mention potentially breaking change from #8090 --- docs/guide/migration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/migration.md b/docs/guide/migration.md index a787bee473b54c..bd6147a062717b 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -111,6 +111,8 @@ Also there are other breaking changes which only affect few users. - Transpile to ES5 is now necessary even if the user code only includes ES5. - [[#7877] fix: vite client types](https://github.com/vitejs/vite/pull/7877) - `/// ` is removed from `vite/client.d.ts`. `{ "lib": ["dom"] }` or `{ "lib": ["webworker"] }` is necessary in `tsconfig.json`. +- [[#8090] feat: preserve process env vars in lib build](https://github.com/vitejs/vite/pull/8090) + - `process.env.*` is now preserved in library mode - [[#8280] feat: non-blocking esbuild optimization at build time](https://github.com/vitejs/vite/pull/8280) - `server.force` option was removed in favor of `force` option.