Created
August 5, 2021 22:42
-
-
Save caesaneer/a7d1ecc06b520b2a2f70e9e199092898 to your computer and use it in GitHub Desktop.
Final svelte.config.js file
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
import preprocess from 'svelte-preprocess'; | |
import adapter from '@sveltejs/adapter-static'; | |
/** @type {import('@sveltejs/kit').Config} */ | |
const config = { | |
// Consult https://github.com/sveltejs/svelte-preprocess | |
// for more information about preprocessors | |
preprocess: preprocess(), | |
kit: { | |
adapter: adapter({ | |
pages: 'build', | |
assets: 'build', | |
fallback: 'app.html' | |
}), | |
ssr: false, | |
// hydrate the <div id="svelte"> element in src/app.html | |
target: '#svelte' | |
} | |
}; | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment