damorej-at-theinstitutes / webpack-concat-files-plugin

Concatenate and transform files using Webpack
MIT License
11 stars 8 forks source link

fix: use filepath instead of path when calling before handler #23

Closed wagoid closed 3 years ago

wagoid commented 3 years ago

Hi there! I noticed this small issue when using the lib. The filepath parameter was always undefined on the before handler. This PR fixes the issue :+1:

damorej-at-theinstitutes commented 3 years ago

Awesome, thanks for catching this and contributing a fix @wagoid! I'm going to merge this and add a test to help ensure this doesn't get broken again. I'll post again once I publish a new version on NPM with this fix included.

Thanks again!