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,
|
||||
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: {
|
||||
|
||||
Reference in New Issue
Block a user