mirror of
https://github.com/apricote/ein-pfeil-am-rechten-fleck.de.git
synced 2026-02-08 02:37:01 +00:00
add sveltekit version
This commit is contained in:
parent
2f522be388
commit
d1c0eb8d17
20 changed files with 3252 additions and 0 deletions
21
svelte.config.cjs
Normal file
21
svelte.config.cjs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
const sveltePreprocess = require('svelte-preprocess');
|
||||
const vercel = require('@sveltejs/adapter-vercel');
|
||||
const pkg = require('./package.json');
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
module.exports = {
|
||||
// Consult https://github.com/sveltejs/svelte-preprocess
|
||||
// for more information about preprocessors
|
||||
preprocess: [
|
||||
sveltePreprocess({
|
||||
postcss: true
|
||||
})
|
||||
],
|
||||
|
||||
kit: {
|
||||
adapter: vercel(),
|
||||
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
target: '#svelte'
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue