mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-12-04 14:04:57 +01:00
593938c36d
Close #158 commitb759884dce
Author: Made Baruna <made.setia@gmail.com> Date: Thu Jul 21 21:57:38 2022 +0700 Add update popup commit00f8b192af
Author: Made Baruna <made.setia@gmail.com> Date: Thu Jul 21 20:09:18 2022 +0700 Add service worker commit1cd1e40c77
Author: Made Baruna <made.setia@gmail.com> Date: Thu Jul 21 11:38:37 2022 +0700 Update firebase config commitedc036f62f
Author: Made Baruna <made.setia@gmail.com> Date: Wed Jul 20 23:33:38 2022 +0700 Separate build getter commite780ab18bf
Author: Made Baruna <made.setia@gmail.com> Date: Wed Jul 20 22:16:28 2022 +0700 Update readme commit7f0890acba
Author: Made Baruna <made.setia@gmail.com> Date: Wed Jul 20 22:07:25 2022 +0700 Fix createEnv commit1df04e369f
Author: Made Baruna <made.setia@gmail.com> Date: Wed Jul 20 22:03:12 2022 +0700 Migrate to svelte-kit
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;
|