Closed
Description
Bug report
When using webpack devserver with a server and client bundle where the server bundle
Actual Behavior
"no window.document found, will not HMR CSS" is output to the console
Expected Behavior
Since emit = false, there is no need to attempt HMR anyway so simply ignore this
How Do We Reproduce?
- checkout https://github.com/ntucker/anansi/tree/25803a5b49316c7e73846efbe774d5cbe3eb28a3
- yarn install
- yarn build:pkg
- cd examples/concurrent
- yarn start
- observe logging statement
Please paste the results of npx webpack-cli info
here, and mention other relevant information
System:
OS: Linux 5.10 Ubuntu 20.04 LTS (Focal Fossa)
CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
Memory: 26.13 GB / 31.30 GB
Binaries:
Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
Yarn: 3.2.1 - /mnt/c/Program Files (x86)/Yarn/bin/yarn
npm: 8.7.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
Metadata
Metadata
Assignees
Labels
No labels