From 816a36d1abcb112b64ac4f685302fdcb3767e43f Mon Sep 17 00:00:00 2001 From: Pavel Murygin Date: Wed, 16 Jun 2021 00:52:02 +0300 Subject: [PATCH] fix prod build --- webpack.config.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 766ea71..4548f43 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -165,7 +165,7 @@ if (MODE === 'production') { new CopyWebpackPlugin({ patterns: [ { - from: 'src/assets', + from: './images/*.*', }, ], }), @@ -187,16 +187,16 @@ if (MODE === 'production') { }, }, }, - { - test: /\.css$/, - exclude: [/elm-stuff/, /node_modules/], - use: [MiniCssExtractPlugin.loader, 'css-loader?url=false'], - }, - { - test: /\.scss$/, - exclude: [/elm-stuff/, /node_modules/], - use: [MiniCssExtractPlugin.loader, 'css-loader?url=false', 'sass-loader'], - }, + // { + // test: /\.css$/, + // exclude: [/elm-stuff/, /node_modules/], + // use: [MiniCssExtractPlugin.loader, 'css-loader?url=false'], + // }, + // { + // test: /\.scss$/, + // exclude: [/elm-stuff/, /node_modules/], + // use: [MiniCssExtractPlugin.loader, 'css-loader?url=false', 'sass-loader'], + // }, ], }, });