From 884bf1067dab0565481fa60c51e78051e950440e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sun, 7 Mar 2021 18:52:40 +0100 Subject: [PATCH] Silence webpack warning by setting mode to production --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index ded6968..99e9f92 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,6 +9,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin"); module.exports = { context: path.resolve(__dirname, 'src'), entry: './main.js', + mode: 'production', output: { path: path.resolve(__dirname, 'build'), }, @@ -49,4 +50,4 @@ module.exports = { } ] } -}; \ No newline at end of file +};