Skip to content

Commit

Permalink
Update netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
jarda-svoboda committed Jul 10, 2023
1 parent a8584e3 commit c4f3e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/locale-router-advanced/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
command = "npm run build"
command = "npm run build:netlify"
publish = "build"
[functions]
node_bundler = "esbuild"
3 changes: 2 additions & 1 deletion examples/locale-router-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build:netlify": "npm i sveltekit-i18n@latest && vite build",
"package": "svelte-kit package",
"preview": "vite preview",
"prepare": "svelte-kit sync",
Expand All @@ -19,4 +20,4 @@
"dependencies": {
"sveltekit-i18n": "file:../../"
}
}
}

0 comments on commit c4f3e4d

Please sign in to comment.