mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 08:27:03 +02:00
refactor(utils): replace hash with contenthash for file loader (#6650)
This commit is contained in:
parent
fbbec7fef8
commit
bae9827d92
4 changed files with 28 additions and 28 deletions
|
@ -25,7 +25,7 @@ Generating Base64 & dominant colours palette for a jpeg image imported in your J
|
|||
loader: '@docusaurus/lqip-loader',
|
||||
options: {
|
||||
path: '/media', // your image going to be in media folder in the output dir
|
||||
name: '[name].[ext]', // you can use [hash].[ext] too if you wish,
|
||||
name: '[name].[ext]', // you can use [contenthash].[ext] too if you wish,
|
||||
base64: true, // default: true, gives the base64 encoded image
|
||||
palette: true // default: false, gives the dominant colours palette
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue