Skip to content

Commit

Permalink
Merge pull request #2 from justjoolz/main
Browse files Browse the repository at this point in the history
update to use vite instead of svelte-kit dev
  • Loading branch information
muttoni authored Jul 19, 2022
2 parents afdf210 + 32e9e85 commit 9a44fb6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules
.vercel
.output
package-lock.json
yarn.lock
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "fcl-sveltekit",
"version": "1.0.0",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"package": "svelte-kit package",
"preview": "svelte-kit preview"
"dev": "vite dev",
"build": "vite build",
"package": "vite package",
"preview": "vite preview"
},
"devDependencies": {
"@onflow/fcl": "^1.0.2",
Expand All @@ -15,5 +15,8 @@
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.44",
"svelte": "^3.48.0"
},
"type": "module"
"type": "module",
"dependencies": {
"vite": "^3.0.0"
}
}
8 changes: 8 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { sveltekit } from '@sveltejs/kit/vite';

/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()]
};

export default config;

1 comment on commit 9a44fb6

@vercel
Copy link

@vercel vercel bot commented on 9a44fb6 Jul 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fcl-sveltekit – ./

fcl-sveltekit.vercel.app
fcl-sveltekit-git-main-muttoni.vercel.app
fcl-sveltekit-muttoni.vercel.app

Please sign in to comment.