This repository was archived by the owner on Mar 17, 2021. It is now read-only.
Commit 31d6589
File tree
5 files changed
+25
-25
lines changed- src
- test
- __snapshots__
5 files changed
+25
-25
lines changed+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
63 |
| - | |
| 62 | + | |
| 63 | + | |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + |
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
6 commit comments
sepe81 commentedon Jan 16, 2020
Starting from this commit and with
file-loader
5.0.1 and 5.0.2 (but not 5.0.0) I get the "error" from #212I don't understand why this happens, but guess it's related to the evaluation of the default value. Unfortunately I don't have any isolated example yet.
When I I explicitly set the option
esModule
tofalse
it works.alexander-akait commentedon Jan 16, 2020
Update css-loader to latest version
sepe81 commentedon Jan 16, 2020
Thank you for the quick reply.
Some days ago I updated to
"css-loader": "3.4.1"
but with the newest release3.4.2
AND withoutesModule: false
it doesn't work either.In my concrete case it is an image resource that doesn't work, so
file-loader
seems to be the relevant loader.alexander-akait commentedon Jan 16, 2020
What is happens, maybe you can provide a screenshot?
sepe81 commentedon Jan 16, 2020
I continued to search for similar problems and found [1]. According to [2]
esModule is true by default
starting with version 5.0.0.Could it be, that this (breaking change) didn't work in 5.0.0 and has been fixed with 5.0.1? According to [3] this was just a rename from
esModules
toesModule
.[1] https://stackoverflow.com/questions/59114479/when-i-using-file-loader-and-html-loader-in-webpack-the-src-attr-of-image-gonna
[2] https://github.com/webpack-contrib/file-loader/releases/tag/v5.0.0
[3] #346
alexander-akait commentedon Jan 16, 2020
The problem in html-loader, and will be fixed in next html-loader release, 5.0.1 just fix due typo in source code