Skip to content

Commit

Permalink
Merge pull request #8 from kevanhannah/error-fix
Browse files Browse the repository at this point in the history
adjust project config
  • Loading branch information
kevanhannah authored May 2, 2023
2 parents 0a81db2 + 82f557d commit bd405fe
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion sveltekit/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[build]
base = "sveltekit"
command = "pnpm run build"
publish = "build"
publish = "build"

[functions]
directory = "netlify/functions/"
node_bundler = "esbuild"
8 changes: 4 additions & 4 deletions sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"keywords": [
"svelte",
"sveltekit"
],
"keywords": [
"svelte",
"sveltekit"
],
"dependencies": {
"@portabletext/svelte": "^2.0.0",
"@sanity/client": "^5.2.2",
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion sveltekit/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import preprocess from 'svelte-preprocess';

const config = {
kit: {
adapter: adapter(),
adapter: adapter({
split: true,
}),
alias: {
$components: './src/components',
},
Expand Down

0 comments on commit bd405fe

Please sign in to comment.