diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 072f70a..c84169f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ module.exports = { }), new ZipPlugin({ path: __dirname + '/dist', - filename: 'hvac', + filename: 'homescreen', extension: 'wgt', exclude: [] }) @@ -82,6 +82,18 @@ module.exports = { ] }, { + test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/, + use: [ + { + loader: 'file-loader', + options: { + name: '[name].[ext]', + outputPath: 'fonts/' + } + } + ] + }, + { test: /\.(gif|png|jpe?g|svg)$/i, use: [ 'file-loader', |