Added support to .otf fonts

This commit is contained in:
Júnior Garcia
2018-02-19 21:35:58 -03:00
committed by GitHub
parent de27307b82
commit 393215507d

View File

@@ -94,7 +94,7 @@ let webpackConfig = {
}),
},
{
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
test: /\.(ttf|otf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
include: config.paths.assets,
loader: 'url',
options: {
@@ -103,7 +103,7 @@ let webpackConfig = {
},
},
{
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
test: /\.(ttf|otf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
include: /node_modules/,
loader: 'url',
options: {