Questions tagged [webpack-hot-client]
4 questions
2
votes
0 answers
How to debug "Critical dependency: the request of a dependency is an expression"?
Just recently I started seeing this message from several pages in my React project. I don't recall seeing it before:
react_devtools_backend.js:2430 ./node_modules/typescript/lib/typescript.js
Critical dependency: the request of a dependency is an…

HHung
- 49
- 5
2
votes
1 answer
HMR with webpack-dev-server doesn't reload (webpack 4)
I'm developing my new JS starter for static sites and I want to have a create-react-app-like architecture. All my webpack configuration is based on the create-react-app webpack config but using Webpack 4.
When I'm launching the start.js script, a…

Bastien Robert
- 809
- 1
- 10
- 31
0
votes
2 answers
Webpack issue when update 4.x to 5.x
I have a problem when i updated in my project the webpack package to V5.x.
Here is the error :
webpack-hot-client: entry Object values must be an Array or Function. Please check your webpack config.
Here is my package.json :
"*.css",
…

whitefacejunior
- 1
- 1
- 2
0
votes
1 answer
Unable to get webpack-hot-client to reload on file change
For some reason, I'm unable to get webpack-hot-loader working. This is how I'm using it:
const bodyParser = require('body-parser')
const cors = require('cors')
const express = require('express')
const webpack = require('webpack')
const…

Kevin Ghadyani
- 6,829
- 6
- 44
- 62