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 changes to 'var' from 'umd' since we want to use it in the same file
7 adds 'cli-engine' to build (we use it in our wrapper)
8 and target 'node' since we will use it on the cli
10 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
12 webpack.config.js | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
15 diff --git a/webpack.config.js b/webpack.config.js
16 index 29d60cb4..95027075 100644
17 --- a/webpack.config.js
18 +++ b/webpack.config.js
25 - eslint: ["core-js/stable", "regenerator-runtime/runtime", "./lib/linter/linter.js"]
26 + eslint: ["core-js/stable", "regenerator-runtime/runtime", "./lib/linter/linter.js", "./lib/cli-engine/index.js"]
29 filename: "[name].js",
31 - libraryTarget: "umd",
32 - globalObject: "this"
33 + libraryTarget: "var"