Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #685 from chrisbujok/fonts-otf
Browse files Browse the repository at this point in the history
Add .otf font support in webpack config
  • Loading branch information
t-kelly authored Aug 29, 2018
2 parents 625ae49 + b3f6eca commit b0418e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slate-tools/tools/webpack/config/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = {
loader: 'hmr-alamo-loader',
},
{
test: /fonts\/.*\.(eot|svg|ttf|woff|woff2)$/,
test: /fonts\/.*\.(eot|svg|ttf|woff|woff2|otf)$/,
exclude: /node_modules/,
loader: 'file-loader',
},
Expand Down

0 comments on commit b0418e6

Please sign in to comment.