Skip to content

Commit

Permalink
build(bin): don't include dependencies to lib production output
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jul 10, 2019
1 parent ad66859 commit 4a84564
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 4a84564

Please sign in to comment.