File tree Expand file tree Collapse file tree 3 files changed +1
-30
lines changed
examples/ecommerce-jewellery-store Expand file tree Collapse file tree 3 files changed +1
-30
lines changed Original file line number Diff line number Diff line change 1717< body >
1818 < div id ="root "> </ div >
1919 < script type ="module " src ="/src/main.tsx "> </ script >
20- < script >
21- ( ( ) => {
22- const redirect = sessionStorage . redirect ;
23- delete sessionStorage . redirect ;
24- if ( redirect && redirect !== location . href ) {
25- history . replaceState ( null , null , redirect ) ;
26- }
27- } ) ( ) ;
28- </ script >
2920</ body >
3021
3122</ html >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
22import react from '@vitejs/plugin-react' ;
33import path from 'path' ;
4- import { resolve } from 'path' ;
54import { fileURLToPath } from 'url' ;
65
76const __filename = fileURLToPath ( import . meta. url ) ;
@@ -17,12 +16,6 @@ export default defineConfig({
1716 } ,
1817 } ,
1918 build : {
20- outDir : 'build' ,
21- rollupOptions : {
22- input : {
23- main : resolve ( __dirname , "index.html" ) ,
24- 404 : resolve ( __dirname , "public/404.html" ) ,
25- } ,
26- } ,
19+ outDir : 'build'
2720 } ,
2821} ) ;
You can’t perform that action at this time.
0 commit comments