Q-Apps-Utils/vite.config.ts
QortalSeth 1ffbd743c5 Added qortalRequest functions
restructured project files to be easier to understand
Vite dts plugin is used to provide type support

Added functions for the following:
Getting wallet balance
Getting/setting profile data
Sending all supported coins
Getting day summary
Getting the price ratio between QORT and all supported coins
Conversions from blocks to time and time to blocks
2023-11-27 12:51:16 -07:00

17 lines
380 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
import dts from "vite-plugin-dts";
// https://vitejs.dev/config/
export default defineConfig({
optimizeDeps: { include: ["src"] },
build: {
lib: {
entry: resolve(__dirname, "index.ts"),
formats: ["es"],
},
},
plugins: [react(), dts()],
});