Skip to content

Commit

Permalink
🛠 refactor: rename chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanized committed Jan 15, 2025
1 parent 0baeb57 commit bb19932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineConfig(({ mode }) => {
rollupOptions: {
output: {
entryFileNames: 'script.js',
chunkFileNames: 'chunk-[name]-[hash].js',
chunkFileNames: '[name].js',
assetFileNames: ({ name }) => {
if (name && name.endsWith('.css')) {
return 'style.css';
Expand Down

0 comments on commit bb19932

Please sign in to comment.