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 09:42:15 +0100 |
commit | 6f252b47d3087bd421da3e15aeab66dcea9bb09d (patch) | |
tree | ed47b4fe82b1466bbdc8a1e1ec3d5186a73e63d1 /webpack.config.js | |
parent | c36c1b27e5134987b7d13fd27dde5aa72dbe691d (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', |