Skip to content

Commit ef28dae

Browse files
authored
Merge pull request roots#2032 from juniorgarcia/master
Added support to .otf fonts
2 parents 9834098 + 3932155 commit ef28dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/assets/build/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ let webpackConfig = {
9494
}),
9595
},
9696
{
97-
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
97+
test: /\.(ttf|otf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
9898
include: config.paths.assets,
9999
loader: 'url',
100100
options: {
@@ -103,7 +103,7 @@ let webpackConfig = {
103103
},
104104
},
105105
{
106-
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
106+
test: /\.(ttf|otf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
107107
include: /node_modules/,
108108
loader: 'url',
109109
options: {

0 commit comments

Comments
 (0)