15 lines
323 B
TypeScript
15 lines
323 B
TypeScript
import { defineConfig } from "vite";
|
|
import pkg from "./package.json";
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
define: {
|
|
__APP_VERSION__: JSON.stringify(pkg.version),
|
|
__AUTHOR__: JSON.stringify(pkg.author)
|
|
}
|
|
});
|
|
|