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