cryptgeon/client/svelte.config.cjs
2021-05-02 12:31:40 +02:00

18 lines
445 B
JavaScript

const preprocess = require('svelte-preprocess')
const adapter = require('@sveltejs/adapter-static')
/** @type {import('@sveltejs/kit').Config} */
module.exports = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter({
fallback: 'index.html',
}),
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',
},
}