Closed
Description
I wanted to add HMR without refresh page.
I ejected project, and modify webpack.config.dev.
But HMR not worked.
I found, that url loader breaks HMR:
{
exclude: [
/\.html$/,
/\.(js|jsx)$/,
/\.css$/,
/\.json$/,
/\.svg$/
],
loader: 'url',
query: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]'
}
}
If i remove "exclude" parameter and added custom "test", all works fine.
I spent for found this for about two days and, i think it needs to move to custom "test" field.
Metadata
Metadata
Assignees
Labels
No labels