mirror of
https://github.com/LukeHagar/ui-development-kit.git
synced 2025-12-06 04:21:49 +00:00
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { defineConfig } from "vite";
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
resolve: {
|
|
// Some libs that can run in both Web and Node.js, such as `axios`, we need to tell Vite to build them in Node.js.
|
|
browserField: false,
|
|
mainFields: ["module", "jsnext:main", "jsnext"],
|
|
},
|
|
});
|