diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-09-21 16:04:32 +0200 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2020-02-04 19:20:13 +0100 |
commit | cefa5a95c8c15d55db5cdc6e820cca29b0079d58 (patch) | |
tree | ed47b4fe82b1466bbdc8a1e1ec3d5186a73e63d1 /webpack.config.js | |
parent | 6cd23dbac3a11dc3906d09ea23fd80e1689d289e (diff) |
FUNCT First dummy release
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/webpack.config.js b/webpack.config.js index 072f70a..ac50a74 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,11 +10,7 @@ const ZipPlugin = require('zip-webpack-plugin'); module.exports = { mode: 'production', entry: { - index: './src/index.js', - FANSPEED: './src/js/fan_speed.js', - CHAIR: './src/js/chair.js', - BUTTON: './src/js/buttons.js', - TEMPERATURE: './src/js/temperature.js' + index: './src/index.js' }, output: { path: __dirname + '/dist', @@ -59,7 +55,7 @@ module.exports = { }), new ZipPlugin({ path: __dirname + '/dist', - filename: 'hvac', + filename: 'mixer', extension: 'wgt', exclude: [] }) @@ -82,6 +78,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', |