🎉 First commit !!!

This commit is contained in:
2023-01-22 16:53:45 +01:00
commit dde835760a
68 changed files with 3250 additions and 0 deletions

23
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import basicSsl from '@vitejs/plugin-basic-ssl'
export default defineConfig({
plugins: [solidPlugin(), basicSsl()],
server: {
port: 3000,
base: '/widget',
proxy: {
'/widget/.*': {
target: 'https://localhost:3000/',
rewrite: (path) => {
console.error("PATH: ", path);
return path.replace(/\/widget/, '#');
},
},
},
},
build: {
target: 'esnext',
},
});