File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < meta charset ="UTF-8 " />
5- < link rel ="icon " type ="image/svg+xml " href ="/react.svg " />
65 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
76 < title > Semi Design Live Editor</ title >
87 </ head >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
3131 output : {
3232 filename : isDev ? '[name].js' : '[name].[contenthash:8].js' ,
3333 path : path . join ( __dirname , 'dist' ) ,
34- publicPath : '/ ' ,
34+ publicPath : '' ,
3535 clean : true ,
3636 } ,
3737
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < meta charset ="UTF-8 " />
5- < link rel ="icon " type ="image/svg+xml " href ="/react.svg " />
65 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
76 < title > Rspack + React + TS</ title >
87 </ head >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default defineConfig({
3636 output : {
3737 filename : isDev ? "[name].js" : "[name].[contenthash:8].js" ,
3838 path : path . join ( __dirname , "dist" ) ,
39- publicPath : "/ " ,
39+ publicPath : "" ,
4040 clean : true ,
4141 } ,
4242 resolve : {
You canβt perform that action at this time.
0 commit comments