paimon-moe-fork/svelte.config.js

35 lines
641 B
JavaScript
Raw Normal View History

// const sveltePreprocess = require('svelte-preprocess');
// const postcss = require('./postcss.config');
2020-10-21 23:03:33 +01:00
// 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,
},
2020-10-21 23:03:33 +01:00
},
preprocess: [
preprocess({
postcss: true,
}),
],
};
2020-10-21 23:03:33 +01:00
export default config;