Commit b31cbaa
File tree
3 files changed
+119
-3
lines changed- bin
- test
- __snapshots__
3 files changed
+119
-3
lines changedDiff for: bin/webpack-dev-server.js
-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
| |||
140 | 139 |
| |
141 | 140 |
| |
142 | 141 |
| |
143 |
| - | |
144 |
| - | |
145 | 142 |
| |
146 | 143 |
| |
147 | 144 |
| |
|
Diff for: test/Server.test.js
+59
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
10 | 69 |
| |
11 | 70 |
| |
12 | 71 |
| |
|
Diff for: test/__snapshots__/Server.test.js.snap
+60
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
3 | 63 |
| |
4 | 64 |
| |
5 | 65 |
| |
|
8 commit comments
kelihansen commentedon Apr 26, 2019
This actually seems to have been a breaking change for us, but I'm still trying to pinpoint why.
alexander-akait commentedon Apr 26, 2019
Nope we already do this before starts webpack-dev-server, so it is not breaking change, maybe you have invalid configuration previously
kelihansen commentedon Apr 26, 2019
It's possible, and that's part of what I'm trying to determine, but the fact of the matter is that without those two lines, we get
Cannot read property 'call' of undefined at __webpack_require__
in the browser console, but if I go into my node_modules and put the lines back in, the error disappears.alexander-akait commentedon Apr 26, 2019
You have disabled
hmr
based on error, please provide minimum reproducible test repo, thanksrbuetzer commentedon Aug 27, 2019
@kelihansen Did you gain any insights in the meantime? I ran into the same issue. Also, it seems that version 3.3.1 features breaking changes for other people as well: webpack/webpack#6094 (comment)
kelihansen commentedon Aug 27, 2019
Bizarrely, our issue disappeared when we changed the
entry
property of our webpack config from a string to an array. I never had time to understand why.alexander-akait commentedon Aug 27, 2019
@rbuetzer can you open issue with reproducible test repo?
rbuetzer commentedon Aug 27, 2019
Woah, using an array for the
entry
property did the trick. Thanks a lot, @kelihansen!@evilebottnawi: I don't have the time to create a reproducible test repo from our private project, I have however created #2231, which includes my webpack config. Hope this is still helpful.