From 195bce0485080673160b5af7e005be3c9e8bd008 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Mon, 27 Apr 2020 11:25:58 +0530 Subject: [PATCH] add dependencies as externals in webpack --- addons/xterm-addon-ligatures/webpack.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/xterm-addon-ligatures/webpack.config.js b/addons/xterm-addon-ligatures/webpack.config.js index 819256fb..253e1207 100644 --- a/addons/xterm-addon-ligatures/webpack.config.js +++ b/addons/xterm-addon-ligatures/webpack.config.js @@ -28,5 +28,9 @@ module.exports = { library: addonName, libraryTarget: 'umd' }, - mode: 'production' + mode: 'production', + externals: { + 'font-finder':'font-finder', + 'font-ligatures':'font-ligatures' + } };