From 6c239da27cc403ab3e416d3bfc2b4c3d40a7f8fc Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 2 Jan 2024 01:37:38 -0700 Subject: [PATCH] Added static adapter package --- package-lock.json | 10 ++++++++++ package.json | 1 + src/routes/+layout.js | 1 + 3 files changed, 12 insertions(+) create mode 100644 src/routes/+layout.js diff --git a/package-lock.json b/package-lock.json index f4f8235..f60d13a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.1", "devDependencies": { "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", @@ -668,6 +669,15 @@ "@sveltejs/kit": "^2.0.0" } }, + "node_modules/@sveltejs/adapter-static": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-3.0.1.tgz", + "integrity": "sha512-6lMvf7xYEJ+oGeR5L8DFJJrowkefTK6ZgA4JiMqoClMkKq0s6yvsd3FZfCFvX1fQ0tpCD7fkuRVHsnUVgsHyNg==", + "dev": true, + "peerDependencies": { + "@sveltejs/kit": "^2.0.0" + } + }, "node_modules/@sveltejs/kit": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.0.6.tgz", diff --git a/package.json b/package.json index 9961d35..e7ef9b2 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", diff --git a/src/routes/+layout.js b/src/routes/+layout.js new file mode 100644 index 0000000..189f71e --- /dev/null +++ b/src/routes/+layout.js @@ -0,0 +1 @@ +export const prerender = true;