fix(webpack): remove double-dotted file extensions in webpack config (#27471)
This commit is contained in:
parent
6a7e5c2faf
commit
47ae9d4cc3
|
|
@ -403,7 +403,7 @@ const config = {
|
||||||
},
|
},
|
||||||
type: 'asset',
|
type: 'asset',
|
||||||
generator: {
|
generator: {
|
||||||
filename: '[name].[contenthash:8].[ext]',
|
filename: '[name].[contenthash:8][ext]',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -431,7 +431,7 @@ const config = {
|
||||||
test: /\.(jpg|gif)$/,
|
test: /\.(jpg|gif)$/,
|
||||||
type: 'asset/resource',
|
type: 'asset/resource',
|
||||||
generator: {
|
generator: {
|
||||||
filename: '[name].[contenthash:8].[ext]',
|
filename: '[name].[contenthash:8][ext]',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
/* for font-awesome */
|
/* for font-awesome */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue