Enable every plugin recommended preset and replace Biome with ESLint formatting. Preserve API contracts and JSX whitespace; verify source, tests, builds and tooling.
9 lines
205 B
TypeScript
9 lines
205 B
TypeScript
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
lib: { entry: "src/index.ts", fileName: "index", formats: ["es"] },
|
|
rolldownOptions: { external: /^react(\/|$)/ },
|
|
},
|
|
});
|