markshapiro / webpack-merge-and-include-globally

Merge multiple files (js, css..) and include by running them "as is". Supports minify by custom transform and wildcard paths.
MIT License
102 stars 27 forks source link

v2.2.2 [webpack-cli] TypeError: Cannot read property 'tap' of undefined #56

Closed johnhunter closed 3 years ago

johnhunter commented 3 years ago

Upgrading from 2.1.26 to 2.2.2 causes a Webpack 4 build failure.

Webpack version: webpack@4.44.2 webpack-cli@4.3.1 Node version: v12.16.3

Error: [webpack-cli] TypeError: Cannot read property 'tap' of undefined at index.node6-compatible.js:273:55

Fails with webpack-merge-and-include-globally 2.2.2 and 2.2.1. Builds ok with 2.1.26

markshapiro commented 3 years ago

@johnhunter thanks for notifying, I've managed to reproduce it with webpack 4, i just published the fix on 2.2.3

johnhunter commented 3 years ago

@markshapiro thanks for the quick turnaround!

johnhunter commented 3 years ago

Confirmed resolved in version 2.2.3