Skip to content

Commit

Permalink
build: build no hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Lete114 committed Jul 14, 2023
1 parent 3c97e9d commit 55771e3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'

// https://vitejs.dev/config/
export default defineConfig({
build: { assetsDir: '.' },
build: {
assetsDir: '.',
rollupOptions: {
output: {
entryFileNames: '[name].js'
}
}
},
plugins: [
svelte(),
cssInjectedByJsPlugin({
Expand Down

0 comments on commit 55771e3

Please sign in to comment.