File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 12
12
"@sveltejs/adapter-netlify" : " next" ,
13
13
"@sveltejs/kit" : " next" ,
14
14
"@types/cookie" : " ^0.4.1" ,
15
- "svelte" : " ^3.34 .0" ,
16
- "svelte-check" : " ^2.2.6 " ,
17
- "svelte-preprocess" : " ^4.9.8 " ,
15
+ "svelte" : " ^3.44 .0" ,
16
+ "svelte-check" : " ^2.2.11 " ,
17
+ "svelte-preprocess" : " ^4.10.1 " ,
18
18
"tslib" : " ^2.3.1" ,
19
19
"typescript" : " ^4.4.3" ,
20
- "postcss" : " ^8.3.9 " ,
20
+ "postcss" : " ^8.4.5 " ,
21
21
"postcss-load-config" : " ^3.1.0" ,
22
- "autoprefixer" : " ^10.3.7 " ,
23
- "cssnano" : " ^5.0.8 " ,
22
+ "autoprefixer" : " ^10.4.0 " ,
23
+ "cssnano" : " ^5.0.14 " ,
24
24
"tailwindcss" : " ^2.2.16"
25
25
},
26
26
"type" : " module" ,
29
29
"@lukeed/uuid" : " ^2.0.0" ,
30
30
"cookie" : " ^0.4.1" ,
31
31
"svelte-intl-precompile" : " ^0.8.0" ,
32
- "terser" : " ^5.9 .0"
32
+ "terser" : " ^5.10 .0"
33
33
}
34
34
}
Original file line number Diff line number Diff line change 6
6
registerAll ();
7
7
let defaultLang = ' en' ;
8
8
let localeRegex = new RegExp (` ^/(${availableLocales .join (' |' )})(/|$) ` )
9
- // export async function load({ page: { path } }) {
10
9
export async function load({ url : { pathname } }) {
11
- debugger ;
12
10
const lang = (localeRegex .exec (pathname ) || [null , defaultLang ])[1 ];
13
11
init ({
14
12
initialLocale: lang ,
You can’t perform that action at this time.
0 commit comments