cryptgeon/client/svelte.config.cjs

18 lines
445 B
JavaScript
Raw Normal View History

2021-05-02 10:31:40 +00:00
const preprocess = require('svelte-preprocess')
const adapter = require('@sveltejs/adapter-static')
2021-05-02 01:08:30 +00: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 10:31:40 +00:00
adapter: adapter({
fallback: 'index.html',
}),
2021-05-02 01:08:30 +00:00
// hydrate the <div id="svelte"> element in src/app.html
2021-05-02 10:31:40 +00:00
target: '#svelte',
},
}