mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-16 18:31:27 +00:00
### Description Adding cookie consent for google analytics (Adobe WIP), daisyui4 changes and updates, updates to events page, and added MD blog support (for upcoming blogs). Staged at: https://maanavd.github.io/onnxruntime/ --------- Co-authored-by: MaanavD <maanavdalal@microsoft.com>
31 lines
930 B
JavaScript
31 lines
930 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import { mdsvex } from 'mdsvex';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
extensions: ['.svelte', '.md', '.svx'],
|
|
preprocess: [
|
|
vitePreprocess(),
|
|
mdsvex({
|
|
extensions: ['.md', '.svx'],
|
|
layout: {
|
|
blogs: 'src/routes/blogs/post.svelte'
|
|
}
|
|
})
|
|
],
|
|
|
|
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;
|