Closed
Description
What problem does this feature solve?
We have built in our project Hot Module Replacement on higher level abstraction and vue-loader prevents our module.hot.accept()
trigger. We need to turn off vue-loader Hot Reload feature to be able to use our HMR.
For end user experience - there will be additional option which may be used to disable Hot Reload staying in "development" environment. NOTE: we don't need to disable HMR in styles - this part doesn't break our functionality.
What does the proposed API look like?
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
hotReload: false // disables Hot Reload
}
}
]
}
I will contribute PullRequest in next few hours.
Metadata
Metadata
Assignees
Labels
No labels