From 6b2acff9f4dbea6d311ba390bad33f25ec61fccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAnior=20Garcia?= Date: Mon, 19 Feb 2018 21:35:58 -0300 Subject: [PATCH] Added support to .otf fonts --- resources/assets/build/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/build/webpack.config.js b/resources/assets/build/webpack.config.js index d6450bbb..5d1c538f 100644 --- a/resources/assets/build/webpack.config.js +++ b/resources/assets/build/webpack.config.js @@ -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: {