From 771019abd66cc479f5d970869d778ec7ed488a89 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 22 May 2020 14:29:06 -0700 Subject: [PATCH] set mode: production to silence webpack warning --- webpack.config.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 38def7f..99fd80c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,10 +1,11 @@ const path = require('path'); module.exports = { - target: 'node', - entry: './index.js', - output: { - filename: 'index.js', - path: path.resolve(__dirname, 'dist'), - }, + target: 'node', + entry: './index.js', + mode: 'production', + output: { + filename: 'index.js', + path: path.resolve(__dirname, 'dist'), + }, };