mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
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
13 lines
318 B
TypeScript
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()],
|
|
};
|
|
});
|