aboutsummaryrefslogtreecommitdiff
path: root/src/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpack.config.js')
-rw-r--r--src/webpack.config.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/webpack.config.js b/src/webpack.config.js
index 6dc5c0e..07517b8 100644
--- a/src/webpack.config.js
+++ b/src/webpack.config.js
@@ -41,7 +41,13 @@ module.exports = {
})
},
{
- test: /\.(woff|woff2|eot|ttf|otf|svg)$/,
+ test: /iconfont\.(woff|woff2|eot|ttf|otf|svg)$/,
+ use: [
+ 'file-loader?name=[path][name].[ext]?hash=[hash:7]'
+ ]
+ },
+ {
+ test: /apple-chancery-webfont\.(woff|woff2|eot|ttf|otf|svg)$/,
use: [
'file-loader?name=[path][name].[ext]'
]