Skip to content

Commit

Permalink
Trying to fix asset loss
Browse files Browse the repository at this point in the history
  • Loading branch information
Disguised-Coffee committed Aug 11, 2024
1 parent 6d1d637 commit e15a1d9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// vite.config.js
export default {
base: '/project-car-hunt/'
base: '/project-car-hunt/',
rollupOptions: {
output: {
manualChunks: false,
inlineDynamicImports: true,
entryFileNames: '[name].js', // currently does not work for the legacy bundle
assetFileNames: '[name].[ext]', // currently does not work for images
},
}
}

0 comments on commit e15a1d9

Please sign in to comment.