mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-15 17:50:55 +00:00
e21327cec5
Changes according to Vite defaults: - Move index.html to root - Replace `%PUBLIC_URL%` with plain `/`
14 lines
299 B
JavaScript
14 lines
299 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
|
|
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig(() => ({
|
|
build: {
|
|
outDir: "build",
|
|
assetsDir: "static/media"
|
|
},
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
plugins: [react()],
|
|
}));
|