We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6061603 commit cb85ac1Copy full SHA for cb85ac1
src/node/tasks/rollup/resolveRollupConfig.ts
@@ -194,7 +194,7 @@ export function resolveRollupConfig(
194
outputOptions: {
195
chunkFileNames: () => {
196
const parts = outputExt.split('.')
197
- const prefix = config?.rollup?.hashChunkFileNames ? '[name]-[hash]' : '[name]'
+ const prefix = config?.rollup?.hashChunkFileNames ? '[name]-[hash]' : '[name]-[format]'
198
199
if (parts.length === 3) {
200
return `_chunks/${prefix}.${parts[2]}`
0 commit comments