mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
add emptyOutDir: true to vite.config.ts
This commit is contained in:
@ -3,13 +3,14 @@
|
||||
import { lingui } from "@lingui/vite-plugin";
|
||||
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig, searchForWorkspaceRoot, splitVendorChunkPlugin } from "vite";
|
||||
import { defineConfig, searchForWorkspaceRoot } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
cacheDir: "../../node_modules/.vite/client",
|
||||
|
||||
build: {
|
||||
sourcemap: true,
|
||||
emptyOutDir: true,
|
||||
},
|
||||
|
||||
define: {
|
||||
@ -38,7 +39,6 @@ export default defineConfig({
|
||||
}),
|
||||
lingui(),
|
||||
nxViteTsPaths(),
|
||||
splitVendorChunkPlugin(),
|
||||
],
|
||||
|
||||
test: {
|
||||
|
||||
Reference in New Issue
Block a user