this_algorithm/web-frontend/svelte.config.js

23 lines
705 B
JavaScript
Raw Normal View History

2023-02-27 01:26:05 -05:00
// import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
2023-03-01 08:01:24 -05:00
import { vitePreprocess } from '@sveltejs/kit/vite';
2023-02-27 01:20:21 -05:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter({
2023-02-27 01:26:05 -05:00
pages: 'build',
assets: 'build',
fallback: null,
2023-02-27 01:27:00 -05:00
precompress: false,
2023-02-27 01:26:05 -05:00
strict: true
2023-02-27 01:20:21 -05:00
})
2023-03-01 08:01:24 -05:00
},
preprocess: vitePreprocess()
2023-02-27 01:20:21 -05:00
};
export default config;