Skip to content

Commit

Permalink
disable asset versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 17, 2024
1 parent 794b1d3 commit 4f4491f
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
Expand Up @@ -6,6 +6,14 @@ import svgLoader from 'vite-svg-loader';
export default defineConfig({
build: {
target: 'es2017',
// rollup options, no asset versioning
rollupOptions: {
output: {
entryFileNames: 'js/[name].js',
chunkFileNames: 'js/[name].js',
assetFileNames: 'js/[name].[ext]',
},
},
},
plugins: [
laravel({
Expand All @@ -20,6 +28,6 @@ export default defineConfig({
},
},
}),
svgLoader()
svgLoader(),
],
});

0 comments on commit 4f4491f

Please sign in to comment.