39 lines
782 B
JavaScript
39 lines
782 B
JavaScript
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
import adapter from '@sveltejs/adapter-node';
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: [
|
|
preprocess({
|
|
postcss: true
|
|
})
|
|
],
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
out: 'build',
|
|
precompress: true
|
|
}),
|
|
// +++ SOON OBSOLETE +++
|
|
vite: {
|
|
optimizeDeps: {
|
|
include: ['swiper']
|
|
},
|
|
build: {
|
|
sourcemap: true
|
|
}
|
|
}
|
|
// --- SOON OBSOLETE ---
|
|
}
|
|
};
|
|
|
|
export default config;
|