mirror of
https://github.com/ducky-labs/htmx-go-todo.git
synced 2026-02-04 06:31:00 +00:00
Initial commit
This commit is contained in:
15
vite.config.js
Normal file
15
vite.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: [resolve(__dirname, "src/htmx.js")],
|
||||
formats: ["es"],
|
||||
name: "[name]",
|
||||
fileName: "[name]",
|
||||
},
|
||||
outDir: "static",
|
||||
emptyOutDir: false,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user