mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-16 00:05:56 +08:00
chore(webpack5): use [fullhash]
This commit is contained in:
parent
df27d3adf3
commit
e8f91ebabf
@ -53,7 +53,7 @@ export async function createDefaultWebpackConfig(
|
||||
test: /\.(svg|ico|jpg|jpeg|png|apng|gif|eot|otf|webp|ttf|woff|woff2|cur|ani|pdf)(\?.*)?$/,
|
||||
loader: require.resolve('file-loader'),
|
||||
options: {
|
||||
name: 'static/media/[name].[hash:8].[ext]',
|
||||
name: 'static/media/[name].[fullhash:8].[ext]',
|
||||
},
|
||||
},
|
||||
{
|
||||
@ -61,7 +61,7 @@ export async function createDefaultWebpackConfig(
|
||||
loader: require.resolve('url-loader'),
|
||||
options: {
|
||||
limit: 10000,
|
||||
name: 'static/media/[name].[hash:8].[ext]',
|
||||
name: 'static/media/[name].[fullhash:8].[ext]',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user