Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

489 B
Raw Blame
/**
 * Builds the page into ../web (not checked in: plugins/build.sh builds it).
 * Relative URLs throughout: the IDE serves the page from the plugin package
 * under its own URL scheme.
 */
import path from "node:path";
import { defineConfig } from "vitest/config";

export default defineConfig({
  base: "./",
  build: {
    outDir: path.resolve(import.meta.dirname, "../web"),
    emptyOutDir: true,
    target: "es2022",
    sourcemap: false,
    chunkSizeWarningLimit: 4096,
  },
});