Skip to content

Commit 0c15aad

Browse files
committed
Revert "Use file loader for loading fonts : make fonts nonblocking and don't bundle fonts that are unnecessary"
This reverts commit fd61d89.
1 parent a435cdb commit 0c15aad

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

0 commit comments

Comments
 (0)