Build with a relative basedir by default

Tests show this works. If not, build with `npm run build --base=/your/base/`
This commit is contained in:
Marcel Hellkamp 2023-07-17 16:31:15 +02:00
parent 8027e9187d
commit 23e64962be

View File

@ -6,6 +6,7 @@ import viteCompression from 'vite-plugin-compression';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
base: "./",
plugins: [ plugins: [
vue(), viteCompression() vue(), viteCompression()
], ],