This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
v4.0.0
Bugfixes
- fix: throw error when HMR plugin exists in config (#66)
- fix: hotClientOptions when autoConfigure: false (#65)
Features
- feat: allEntries applies client entry to all entries (#64)
- Added the ability to pass
host: { client: '*' }
to instruct clientWebSockets
to connect towindow.location.hostname
. - Added the
validTargets
option to allow setting other valid build targets aside from'web'
.
Updates
- Added documentation for Remote Machine Testing options.
- Moved documentation for Communicating with Client WebSockets
Breaking Changes
- The default
port
is now0
, meaning a dynamic, system-assigned port will be used by default. In most cases there is no need to specify a port for theWebSocket
server. - Changed the
hot
option tohmr
as 'hmr' is more semantically correct, and 'hot' is too vague. - The
WHC_TARGET
environment variable now does nothing. Use thevalidTargets
option.
See the README for a revised list of Gotchas