подскажите при переходе на вебпак 5 кто-нить сталкивался с ошибкой
Error: Prevent writing to file that only differs in casing or query string from already written file.
This will lead to a race-condition and corrupted files on case-insensitive file systems.
*/assets/Message-800.png
*/assets/message-800.png
responsive-loader отвалился (
https://github.com/dazuaz/responsive-loader)
перешел на asset/resource вместо лоадера
{
test: [/\.jpe?g$/, /\.png$/],
type: 'asset/resource',
generator: {
filename: isProd ? 'assets/[name]-[width].[contenthash:10].[ext]' : 'assets/[name]-[width].[ext]',
}
}
но там вообще проблема с чанками
ошибка
Conflict: Multiple chunks emit assets to the same filename assets/person-[width]..png (chunks ....)