Skip to content

The only tool you need to know what is happening and how to fix it.

273 B
Raw Blame
import { defineConfig } from "vite";
import { tracewayDebugIdsVite } from "@tracewayapp/bundler-plugin";

export default defineConfig({
  build: {
    sourcemap: "hidden",
    minify: "esbuild",
  },
  plugins: process.env.TW_DEBUG_IDS ? [tracewayDebugIdsVite()] : [],
});