Added support to .otf fonts
This commit is contained in:
@@ -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,
|
include: config.paths.assets,
|
||||||
loader: 'url',
|
loader: 'url',
|
||||||
options: {
|
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/,
|
include: /node_modules/,
|
||||||
loader: 'url',
|
loader: 'url',
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
Reference in New Issue
Block a user