Skip to content

Commit b33c888

Browse files
committedSep 27, 2023
Add base path to vite config
1 parent d6dd0f9 commit b33c888

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎vite.config.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vite'
2-
import react from '@vitejs/plugin-react'
1+
import react from '@vitejs/plugin-react';
2+
import { defineConfig } from 'vite';
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6+
base: '/portchain-challenge/',
67
plugins: [react()],
7-
})
8+
});

0 commit comments

Comments
 (0)