This commit is contained in:
Morten Olsen
2023-05-19 14:51:17 +02:00
commit b574c375af
89 changed files with 11574 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import mdx from "@mdx-js/rollup"
import path from 'path';
const ASSET_URL = process.env.ASSET_URL || '';
// https://vitejs.dev/config/
export default defineConfig({
base: `${ASSET_URL}/`,
plugins: [react(), mdx()],
resolve:{
alias:{
'@' : path.resolve(__dirname, './src'),
'node-fetch': 'isomorphic-fetch',
},
},
})