Initial open-source release
This commit is contained in:
21
vite.main.config.mts
Normal file
21
vite.main.config.mts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
// https://vitejs.dev/config
|
||||
export default defineConfig({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ["better-sqlite3"],
|
||||
output: {
|
||||
sourcemap: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
name: "restart",
|
||||
closeBundle() {
|
||||
process.stdin.emit("data", "rs");
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user