onnxruntime/svelte.config.js
Maanav Dalal 918f4aa1fa
Website revamp final (#17638)
Co-authored-by: MaanavD <maanavdalal@microsoft.com>
Co-authored-by: Prasanth Pulavarthi <prasanth.pulavarthi@microsoft.com>
Co-authored-by: Sophie Schoenmeyer <sschoenmeyer@microsoft.com>
Co-authored-by: sophies927 <107952697+sophies927@users.noreply.github.com>
Co-authored-by: Parinita Rahi <101819959+parinitarahi@users.noreply.github.com>
Co-authored-by: kshama-msft <66488860+kshama-msft@users.noreply.github.com>
2023-10-27 17:26:41 -07:00

21 lines
742 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess()],
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(),
paths: {
base: process.env.NODE_ENV === 'production' ? '' : ''
}
}
};
export default config;