mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-03 01:26:16 +02:00
Add vite
Changes according to Vite defaults: - Move index.html to root - Replace `%PUBLIC_URL%` with plain `/`
This commit is contained in:
parent
951c90763a
commit
e21327cec5
6 changed files with 527 additions and 14542 deletions
14
web/vite.config.js
Normal file
14
web/vite.config.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* 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()],
|
||||
}));
|
Loading…
Add table
Add a link
Reference in a new issue