Skip to content

Commit fd61d89

Browse files
committed
Use file loader for loading fonts : make fonts nonblocking and don't bundle fonts that are unnecessary
1 parent df41e72 commit fd61d89

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
@@ -25,7 +25,7 @@ const commonConfig = {
2525
},
2626
{
2727
test: /\.woff2?$/,
28-
loaders: ['url-loader?prefix=font/&limit=50000&mimetype=application/font-woff']
28+
loaders: ['file-loader']
2929
},
3030
{
3131
test: /\.jpg$/,

0 commit comments

Comments
 (0)