Select Git revision
svelte.config.js
-
Emmanuel Raviart authoredEmmanuel Raviart authored
svelte.config.js 704 B
import node from "@sveltejs/adapter-node"
import sveltePreprocess from "svelte-preprocess"
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// By default, `npm run build` will create a standard Node app.
// You can create optimized builds for different platforms by
// specifying a different adapter
adapter: node(),
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
},
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
sveltePreprocess({
defaults: {
style: "postcss",
},
postcss: true,
}),
],
}
export default config