Skip to content

Commit

Permalink
Set up for static output
Browse files Browse the repository at this point in the history
  • Loading branch information
theodore-s-beers committed Nov 27, 2022
1 parent 135db34 commit 4424ab0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "1.0.0-next.89",
"@sveltejs/adapter-static": "1.0.0-next.48",
"@sveltejs/kit": "1.0.0-next.562",
"@types/leaflet": "^1.9.0",
"@typescript-eslint/eslint-plugin": "^5.44.0",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true;
5 changes: 3 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import adapter from '@sveltejs/adapter-auto';
import adapterAuto from '@sveltejs/adapter-auto';
// import adapterStatic from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -12,7 +13,7 @@ const config = {
],

kit: {
adapter: adapter()
adapter: adapterAuto()
}
};

Expand Down

0 comments on commit 4424ab0

Please sign in to comment.