1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Dominik Csapak <d.csapak@proxmox.com>
3 Date: Thu, 2 Apr 2020 07:10:18 +0000
4 Subject: [PATCH] adapt webpack config
6 adds 'cli-engine' to build (we use it in our wrapper)
7 and target 'node' since we will use it on the cli
9 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
11 webpack.config.js | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
14 diff --git a/webpack.config.js b/webpack.config.js
15 index a22c99b..9209159 100644
16 --- a/webpack.config.js
17 +++ b/webpack.config.js
18 @@ -4,8 +4,9 @@ const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
19 /** @type {import("webpack").Configuration} */
24 - eslint: ["core-js/stable", "regenerator-runtime/runtime", "./lib/linter/linter.js"]
25 + eslint: ["core-js/stable", "regenerator-runtime/runtime", "./lib/linter/linter.js", "./lib/cli-engine/index.js"]
28 filename: "[name].js",