mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-12-22 14:35:38 +01:00
34 lines
641 B
JavaScript
34 lines
641 B
JavaScript
// const sveltePreprocess = require('svelte-preprocess');
|
|
// const postcss = require('./postcss.config');
|
|
|
|
// const preprocess = sveltePreprocess({
|
|
// defaults: {
|
|
// style: 'postcss',
|
|
// },
|
|
// postcss,
|
|
// });
|
|
|
|
// module.exports = { preprocess };
|
|
|
|
import preprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter(),
|
|
prerender: {
|
|
default: true,
|
|
},
|
|
serviceWorker: {
|
|
register: false,
|
|
},
|
|
},
|
|
preprocess: [
|
|
preprocess({
|
|
postcss: true,
|
|
}),
|
|
],
|
|
};
|
|
|
|
export default config;
|