From 22f249aa3bb0cd5bd249c7e366f76b7532460244 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Thu, 20 Jun 2019 08:13:07 +0200 Subject: FUNCT Added first visual version --- webpack.config.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index c4934a0..ec29d07 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,6 +25,11 @@ module.exports = { { from: 'src/config.xml', flatten: true + }, + { + from: 'src/mockups/*', + to: 'mockups/', + flatten: true } ]), new HtmlWebpackPlugin({ @@ -53,7 +58,25 @@ module.exports = { "css-loader", "sass-loader" ] + }, + { + test: /\.(gif|png|jpe?g|svg)$/i, + use: [ + 'file-loader', + { + loader: "image-webpack-loader", + options: { + bypassOnDebug: true, // webpack@1.x + disable: true, // webpack@2.x and newer + }, + } + ] } ] + }, + devServer: { + contentBase: path.join(__dirname, 'dist'), + compress: true, + port: 9000 } };  \ No newline at end of file -- cgit 1.2.3-korg