File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 19
19
20
20
* ` file-loader ` upgraded from 1.1 to 6 - #731 thanks to @weaverryan .
21
21
[ CHANGELOG] ( https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md#600-2020-03-17 )
22
- Unless you're doing custom configuration, it's unlikely you're affected.
22
+ If you are importing images/fonts using the CommonJS syntax (` require('foo.png') ` ),
23
+ you will now need to explicitely retrieve the default export (` require('foo.png').default ` )
24
+ in order to get the path of the file.
25
+ Imports done using the ` import ` keyword should not be affected.
23
26
24
27
* ` url-loader ` upgraded from allowing version 1 or 2 to allowing version 4 - #731 thanks to @weaverryan .
25
28
[ CHANGELOG] ( https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md#400-2020-03-17 )
You can’t perform that action at this time.
0 commit comments