From 4a845641116972079ff5c24f5b8f4324c0adb19b Mon Sep 17 00:00:00 2001 From: Leonardo Matos Date: Wed, 10 Jul 2019 12:23:58 -0300 Subject: [PATCH] build(bin): don't include dependencies to lib production output --- build/bin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/bin.js b/build/bin.js index 9cdc3da..6533c4c 100644 --- a/build/bin.js +++ b/build/bin.js @@ -17,7 +17,9 @@ if (!webpackConfig.plugins) { webpackConfig.plugins = [] } webpackConfig.plugins.push( - new CleanWebpackPlugin() + new CleanWebpackPlugin(), + // don't include dependencies to lib output + new webpack.IgnorePlugin(/(@ecomplus\/utils|axios)/) ) const fatalError = err => {