Demo MCP App for interactive budget allocation with: - Slider controls for 5 categories (Marketing, Engineering, etc.) - Real-time donut chart visualization via Chart.js - 24-month sparkline trends per category - Industry benchmark percentile badges - Company stage selector (Seed through Growth) - Budget preset buttons ($50K-$500K) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
554 B
TypeScript
24 lines
554 B
TypeScript
import { defineConfig } from "vite";
|
|
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
|
|
const INPUT = process.env.INPUT;
|
|
if (!INPUT) {
|
|
throw new Error("INPUT environment variable is not set");
|
|
}
|
|
|
|
const isDevelopment = process.env.NODE_ENV === "development";
|
|
|
|
export default defineConfig({
|
|
plugins: [viteSingleFile()],
|
|
build: {
|
|
sourcemap: isDevelopment ? "inline" : undefined,
|
|
cssMinify: !isDevelopment,
|
|
minify: !isDevelopment,
|
|
|
|
rollupOptions: {
|
|
input: INPUT,
|
|
},
|
|
outDir: "dist",
|
|
emptyOutDir: false,
|
|
},
|
|
});
|