Skip to content

Commit 7e2ff48

Browse files
committed
Update other stuff and fix leftover code
1 parent 6428906 commit 7e2ff48

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"@sveltejs/adapter-netlify": "next",
1313
"@sveltejs/kit": "next",
1414
"@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",
1818
"tslib": "^2.3.1",
1919
"typescript": "^4.4.3",
20-
"postcss": "^8.3.9",
20+
"postcss": "^8.4.5",
2121
"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",
2424
"tailwindcss": "^2.2.16"
2525
},
2626
"type": "module",
@@ -29,6 +29,6 @@
2929
"@lukeed/uuid": "^2.0.0",
3030
"cookie": "^0.4.1",
3131
"svelte-intl-precompile": "^0.8.0",
32-
"terser": "^5.9.0"
32+
"terser": "^5.10.0"
3333
}
3434
}

src/routes/[...lang]/__layout.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
registerAll();
77
let defaultLang = 'en';
88
let localeRegex = new RegExp(`^/(${availableLocales.join('|')})(/|$)`)
9-
// export async function load({ page: { path } }) {
109
export async function load({ url: { pathname } }) {
11-
debugger;
1210
const lang = (localeRegex.exec(pathname) || [null, defaultLang])[1];
1311
init({
1412
initialLocale: lang,

0 commit comments

Comments
 (0)