mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-09-26 20:41:45 +00:00
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
import pkg from "./package.json" with { type: "json" };
|
|
|
|
export default defineConfig({
|
|
pack: {
|
|
entry: ["src/index.ts", "src/cli.ts"],
|
|
dts: true,
|
|
minify: true,
|
|
format: ["esm"],
|
|
target: "es2023",
|
|
deps: { alwaysBundle: ["**"] },
|
|
define: { VERSION: JSON.stringify(pkg.version) },
|
|
},
|
|
});
|