Created
August 5, 2021 22:40
-
-
Save caesaneer/9dec992c43c8d44314ddac9ef4312522 to your computer and use it in GitHub Desktop.
Final svelte.config.js
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