mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-14 18:12:05 +00:00
Changes staged here: https://maanavd.github.io/onnxruntime/blogs --------- Co-authored-by: MaanavD <maanavdalal@microsoft.com> Co-authored-by: Sophie Schoenmeyer <107952697+sophies927@users.noreply.github.com>
34 lines
1,021 B
JavaScript
34 lines
1,021 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import { mdsvex } from 'mdsvex';
|
|
import relativeImages from "mdsvex-relative-images";
|
|
|
|
|
|
/** @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'
|
|
},
|
|
remarkPlugins: [relativeImages],
|
|
})
|
|
],
|
|
|
|
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;
|