File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
documentation/docs/25-build-and-deploy
packages/kit/src/exports/vite Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function (options) {
2424 supports: {
2525 read : ({ config, route }) => {
2626 // Return `true` if the route with the given `config` can use `read`
27- // from `$app/server` in production, return `false`` if it can't.
27+ // from `$app/server` in production, return `false` if it can't.
2828 // Or throw a descriptive error describing how to configure the deployment
2929 }
3030 }
Original file line number Diff line number Diff line change @@ -714,6 +714,7 @@ async function kit({ svelte_config }) {
714714 return {
715715 code : code . replace ( / _ _ S V E L T E K I T _ T R A C K _ _ \( ' ( .+ ?) ' \) / g, ( _ , label ) => {
716716 ( tracked_features [ chunk . name + '.js' ] ??= [ ] ) . push ( label ) ;
717+ // put extra whitespace at the end of the comment to preserve the source size and avoid interfering with source maps
717718 return `/* track ${ label } */` ;
718719 } ) ,
719720 map : null // TODO we may need to generate a sourcemap in future
You can’t perform that action at this time.
0 commit comments