This commit is contained in:
Martti Malmi
2023-11-17 13:52:10 +02:00
parent 5942d92923
commit 52553adabf
215 changed files with 3265 additions and 2597 deletions

View File

@ -0,0 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import appConfig from "config";
export default defineConfig({
plugins: [react()],
assetsInclude: ['**/*.md'],
resolve: {
alias: {
'@': '/src',
},
},
define: {
CONFIG: JSON.stringify(appConfig),
global: {}, // needed for custom-event lib
SINGLE_RELAY: JSON.stringify(process.env.SINGLE_RELAY),
},
});