# What's new in Svelte: November 2021

DevFeed: [What's new in Svelte: November 2021](<https://devfeed.tech/articles/what-s-new-in-svelte-november-2021-3111.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/whats-new-in-svelte-november-2021>)

Author: Dani Sandoval

Published: 2021-11-01T00:00:00Z

Content type: news

Language: en

Sources: [Svelte blog](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Svelte](<https://devfeed.tech/topics/svelte.md>), [Development](<https://devfeed.tech/topics/development.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Vite](<https://devfeed.tech/topics/vite.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [vs-code](<https://devfeed.tech/topics/vs-code.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [github](<https://devfeed.tech/tags/github.md>), [svelte](<https://devfeed.tech/tags/svelte.md>), [vite](<https://devfeed.tech/tags/vite.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

## AI overview

This November 2021 update covers Svelte and SvelteKit progress, including a new compiler sourcemap option, environment-variable handling in templates, VS Code CSS settings support, faster loading for large Svelte libraries, routing changes, the end of Node 12 support, and updates to the Vite integration. It also showcases applications built with SvelteKit and mentions the upcoming Svelte Summit.

## Source excerpt

With SvelteKit crossing the 80% complete mark, over 5000 stars on GitHub, and now having more usage than Sapper, there's never been a better time to try it out! Many in the community have, making for quite a large showcase this month... Also, don't miss out on Svelte Summit on November 20th - featuring speakers from around the world. Keep an eye out for a watch party in your area 👀 Now onto what's new! New in Svelte and SvelteKit svelte.dev now runs on SvelteKit alongside sveltesociety.dev. svelte.dev is a relatively complicated site with live code editing, authentication, and a markdown-based blog - making it a great way for us to really test out SvelteKit A new compiler option, enableSourcemap, provides more control over the compiler output for JS and CSS sourcemaps (3.44.0). With this new feature, SvelteKit and the Vite Svelte plugin can now properly handle environment variables in .svelte templates (See sveltejs/kit#720 and sveltejs/vite-plugin-svelte#201) The Svelte Language Tools now support reading the configuration of the VS Code CSS settings (#1219) vite-plugin-svelte added a new experimental.prebundleSvelteLibraries option that makes it much faster to load Svelte libraries with many components like icon libraries and UI frameworks. The option can be set in the root of svelte.config.js. Please test it out and give us feedback! SvelteKit will only route endpoints on the client, unless marked as rel="external" - reducing the size of the client JS and making it easier to refactor the router in the future (2656) SvelteKit no longer supports Node 12 (2604) SvelteKit was upgraded from Vite 2.6.0 to Vite 2.6.12 fixing an issue where Vite would corrupt the Svelte runtime (https://github.com/vitejs/vite/issues/4306). It also included two fixes from the SvelteKit team to avoid or make diagnosing Vite issues in SvelteKit templates easier (https://github.com/vitejs/vite/pull/5192 and https://github.com/vitejs/vite/pull/5193). Vite 2.7 is currently available in beta wit