LeRobot.js / packages /web /vite.config.ts
NERDDISCO's picture
feat(web): added testing structure
cdf7155
raw
history blame contribute delete
327 Bytes
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./tests/setup.ts"],
},
build: {
lib: {
entry: "./src/index.ts",
formats: ["es"],
},
rollupOptions: {
external: ["typescript"],
},
},
});