Skip to content

Commit 6703ea8

Browse files
authored
build: Vite - set rollup output filenames (outline#6719)
1 parent f12b6fd commit 6703ea8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ export default () =>
172172
input: {
173173
index: "./app/index.tsx",
174174
},
175+
output: {
176+
assetFileNames: 'assets/[name].[hash][extname]',
177+
chunkFileNames: 'assets/[name].[hash].js',
178+
entryFileNames: 'assets/[name].[hash].js',
179+
}
175180
},
176181
},
177182
});

0 commit comments

Comments
 (0)