-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
14 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VITE_PROFILE_ADDRESS=0xba1132bc08f82fe2 | ||
VITE_ACCESS_NODE_API=https://access-testnet.onflow.org | ||
VITE_ACCESS_NODE_API=https://rest-testnet.onflow.org | ||
VITE_DISCOVERY_WALLET=https://fcl-discovery.onflow.org/testnet/authn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,10 @@ | ||
/** @type {import('@sveltejs/kit').Config} */ | ||
|
||
import resolve from '@rollup/plugin-node-resolve' | ||
import builtins from 'rollup-plugin-node-builtins'; | ||
import globals from 'rollup-plugin-node-globals'; | ||
import vercel from '@sveltejs/adapter-vercel'; | ||
import adapter from '@sveltejs/adapter-auto'; | ||
|
||
/** @type {import('@sveltejs/kit').Config} */ | ||
const config = { | ||
// options passed to svelte.compile (https://svelte.dev/docs#svelte_compile) | ||
compilerOptions: null, | ||
|
||
// an array of file extensions that should be treated as Svelte components | ||
extensions: ['.svelte'], | ||
|
||
kit: { | ||
adapter: vercel(), // change this to whatever build adapter you want to use (e.g. static) | ||
files: { | ||
assets: 'static', | ||
hooks: 'src/hooks', | ||
lib: 'src/lib', | ||
routes: 'src/routes', | ||
serviceWorker: 'src/service-worker', | ||
template: 'src/app.html' | ||
}, | ||
paths: { | ||
assets: '', | ||
base: '' | ||
}, | ||
// hydrate: false, | ||
prerender: { | ||
crawl: false, | ||
enabled: false | ||
}, | ||
router: true, | ||
ssr: true, | ||
vite: () => ({ | ||
plugins: [ | ||
builtins(), | ||
resolve({ | ||
browser: true, | ||
}), | ||
globals(), | ||
], | ||
}), | ||
}, | ||
|
||
// SvelteKit uses vite-plugin-svelte. Its options can be provided directly here. | ||
|
||
// See the available options at https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md | ||
|
||
kit: { | ||
adapter: adapter(), | ||
} | ||
}; | ||
|
||
export default config; |
24d58b5
There was a problem hiding this comment.
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-git-main-muttoni.vercel.app
fcl-sveltekit-muttoni.vercel.app
fcl-sveltekit.vercel.app