Skip to content

Commit

Permalink
chore(vite.config.ts): remove base
Browse files Browse the repository at this point in the history
  • Loading branch information
akanoce committed Jun 30, 2024
1 parent 73237b1 commit 48cec11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import { resolve } from "path";

export default defineConfig(({ mode }) => {
export default defineConfig(() => {
return {
plugins: [nodePolyfills(), react()],
build: {
Expand All @@ -32,6 +32,5 @@ export default defineConfig(({ mode }) => {
resolve(__dirname, "test/setup/resizeObserverMock.ts"),
],
},
base: mode === "production" ? "/vechain-dapp-kit/react/" : "/",
};
});

0 comments on commit 48cec11

Please sign in to comment.