We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 094cb0b commit 237bae5Copy full SHA for 237bae5
1 file changed
vite.config.ts
@@ -10,6 +10,7 @@ const isTest = process.env.NODE_ENV === "test";
10
11
// https://vite.dev/config/
12
export default defineConfig({
13
+ base: process.env.NODE_ENV === "production" ? "/react-ts-template/" : "/",
14
plugins: [
15
tsconfigPaths(),
16
react({
0 commit comments