Skip to content

Commit 46727bb

Browse files
andrea-spotsoftwareFoxandxss
authored andcommitted
added "loader" postfix to file-loader (preboot#243)
1 parent f609c4b commit 46727bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module.exports = function makeWebpackConfig() {
9797
// copy those assets to output
9898
{
9999
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
100-
loader: 'file?name=fonts/[name].[hash].[ext]?'
100+
loader: 'file-loader?name=fonts/[name].[hash].[ext]?'
101101
},
102102

103103
// Support for *.json files.

0 commit comments

Comments
 (0)