Skip to content

Commit

Permalink
globe returns the full path on unbunto. made it to
Browse files Browse the repository at this point in the history
return only the file name for vite define
  • Loading branch information
Mehran7kl committed Aug 30, 2024
1 parent 362ad43 commit 2c50e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig(()=>{

return {
base:"/Mini-Projects/",
define: {htmlFiles:g},
define: {htmlFiles:g.map(file=> file.split("/").at(-1))},
build:{
rollupOptions:{
input: g
Expand Down

0 comments on commit 2c50e3f

Please sign in to comment.