Last active
October 29, 2021 14:05
-
-
Save el3um4s/f6b863d32a68941b6a620f7e2fc65862 to your computer and use it in GitHub Desktop.
MEDIUM - Svelte & GitHub Pages - 02
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 = { | |
preprocess: preprocess(), | |
kit: { | |
target: '#svelte', | |
adapter: adapter({ | |
pages: 'build', // path to public directory | |
assets: 'build', // path to public directory | |
fallback: null | |
}) | |
} | |
}; | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment