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

Error: ENAMETOOLONG: name too long #12

Closed arihantverma closed 6 years ago

arihantverma commented 6 years ago

The file that is being minified is large, and this error is thrown. I'm using — https://github.com/markshapiro/webpack-merge-and-include-globally#transform — to minify the code as shown in the README.md

markshapiro commented 6 years ago

can this be minify library issue? does it throw same error when you don't transform?

arihantverma commented 6 years ago

I think this is the minify library (uglify-js's minify). I'm trying make sure of it though. I'll update when I do.

arihantverma commented 6 years ago

It is a problem with the minifier itself. I had the liberty to switch minifier to babel-minifier, hence I did. This issue can be closed.