diff options
| author | Fuwn <[email protected]> | 2022-09-21 18:32:49 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-09-21 18:32:49 -0700 |
| commit | 98bc8fbf8ae2a8d993576b13b96e4874b82f3299 (patch) | |
| tree | ad75d9f3beebf2a9bb3b43bf0f5a4fdd6d48554c | |
| parent | feat: initial commit (diff) | |
| download | capybara-markets-98bc8fbf8ae2a8d993576b13b96e4874b82f3299.tar.xz capybara-markets-98bc8fbf8ae2a8d993576b13b96e4874b82f3299.zip | |
chore(netlify): netlify deploy support
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | netlify.toml | 3 | ||||
| -rw-r--r-- | package-lock.json | 1 | ||||
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | svelte.config.js | 3 |
5 files changed, 8 insertions, 1 deletions
@@ -8,3 +8,4 @@ node_modules !.env.example .vercel .output +.netlify diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..0adefd9 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,3 @@ +[build] +command = "npm run build" +public = "build"
\ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 42a9d1d..4369b7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "devDependencies": { "@playwright/test": "^1.25.0", "@sveltejs/adapter-auto": "next", + "@sveltejs/adapter-netlify": "^1.0.0-next.78", "@sveltejs/kit": "next", "@types/cookie": "^0.5.1", "@typescript-eslint/eslint-plugin": "^5.27.0", diff --git a/package.json b/package.json index 8835aea..82f48c1 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "devDependencies": { "@playwright/test": "^1.25.0", "@sveltejs/adapter-auto": "next", + "@sveltejs/adapter-netlify": "^1.0.0-next.78", "@sveltejs/kit": "next", "@types/cookie": "^0.5.1", "@typescript-eslint/eslint-plugin": "^5.27.0", diff --git a/svelte.config.js b/svelte.config.js index 892f0c4..227418d 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,5 @@ -import adapter from '@sveltejs/adapter-auto'; +// import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-netlify'; import preprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ |