Files
classquiz-ai/frontend/svelte.config.js
T
2022-12-28 11:50:12 +01:00

44 lines
870 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';
import { mdsvex } from 'mdsvex';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
preprocess({
postcss: true
}),
mdsvex()
],
extensions: ['.svelte', '.svx'],
kit: {
adapter: adapter({
out: 'build',
precompress: true
})
// +++ SOON OBSOLETE +++
/*
vite: {
optimizeDeps: {
include: ['swiper']
},
build: {
sourcemap: true
}
}
*/
// --- SOON OBSOLETE ---
}
};
export default config;