Skip to content

Commit 6a6524f

Browse files
committed
Move deployment to Vercel
1 parent a9c8367 commit 6a6524f

4 files changed

Lines changed: 2 additions & 61 deletions

File tree

README.md

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +0,0 @@
1-
# sv
2-
3-
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
4-
5-
## Creating a project
6-
7-
If you're seeing this, you've probably already done this step. Congrats!
8-
9-
```sh
10-
# create a new project in the current directory
11-
npx sv create
12-
13-
# create a new project in my-app
14-
npx sv create my-app
15-
```
16-
17-
## Developing
18-
19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20-
21-
```sh
22-
npm run dev
23-
24-
# or start the server and open the app in a new browser tab
25-
npm run dev -- --open
26-
```
27-
28-
## Building
29-
30-
To create a production version of your app:
31-
32-
```sh
33-
npm run build
34-
```
35-
36-
You can preview the production build with `npm run preview`.
37-
38-
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

package-lock.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"@eslint/compat": "^2.0.1",
1818
"@eslint/js": "^9.39.2",
1919
"@sveltejs/adapter-auto": "^7.0.0",
20-
"@sveltejs/adapter-static": "^3.0.10",
2120
"@sveltejs/kit": "^2.50.0",
2221
"@sveltejs/vite-plugin-svelte": "^6.2.4",
2322
"@tailwindcss/typography": "^0.5.19",

svelte.config.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adapter from '@sveltejs/adapter-static';
1+
import adapter from '@sveltejs/adapter-auto';
22
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
33

44
/** @type {import('@sveltejs/kit').Config} */
@@ -8,16 +8,7 @@ const config = {
88
preprocess: vitePreprocess(),
99

1010
kit: {
11-
adapter: adapter({
12-
pages: 'build',
13-
assets: 'build',
14-
fallback: undefined,
15-
precompress: false,
16-
strict: true
17-
}),
18-
paths: {
19-
base: process.env.NODE_ENV === 'production' ? '/beet-website' : ''
20-
}
11+
adapter: adapter()
2112
}
2213
};
2314

0 commit comments

Comments
 (0)