Disable webpack scope hoisting in development
Scope hoisting can cause issues with hot module replacement in development, so it makes more sense to enable it only in production. As it happens, this is the default behavior in webpack v4 anyway.
Scope hoisting can cause issues with hot module replacement in development, so it makes more sense to enable it only in production. As it happens, this is the default behavior in webpack v4 anyway.