Files
artcraft/frontend/apps/editor3d/sb-vite.config.ts
Brandon Thomas 82effe0ce9 add nx for javascript monorepos and move 3d under it (#497)
this required the following:

- downgrading nx react (19 -> 18.2)
- .npmrc credentials for fontawesome
- installing a lot of nx plugins from the vanilla config
- removing kalidokit vendored code and all references to it
2025-04-10 23:15:23 -04:00

13 lines
318 B
TypeScript

import { defineConfig, loadEnv } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
process.env = { ...process.env, ...env };
return {
// no Remix Vite plugin here
plugins: [tsconfigPaths()],
};
});