Files
classquiz-ai/frontend/svelte.config.js
T
2022-07-08 21:13:36 +02:00

30 lines
679 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 { isoImport } from 'vite-plugin-iso-import';
/** @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
})
}
};
export default config;