Skip to content

Commit

Permalink
Merge pull request #16 from nextcloud-libraries/fix/library-splitted-…
Browse files Browse the repository at this point in the history
…css-naming

fix(lib): Include hash in assets name
  • Loading branch information
susnux authored Sep 16, 2023
2 parents a3a3245 + 8f07cbe commit a816607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const createLibConfig = (entries: { [entryAlias: string]: string }, optio
if (!options.inlineCSS && /css/i.test(extType)) {
return '[name].css'
}
return 'assets/[name][extname]'
return 'assets/[name]-[hash][extname]'
}

// Manually define output options for file extensions
Expand Down

0 comments on commit a816607

Please sign in to comment.