shama / webpack-stream

:tropical_drink: Run webpack through a stream interface
MIT License
1.39k stars 122 forks source link

Incorrect entry validation #171

Open kim3er opened 6 years ago

kim3er commented 6 years ago

Using 'webpack' directly, you can supply strings, arrays, objects, promises, and functions to the entry config option. 'webpack-stream' only allows string and arrays.

This pull request expands the validation to include other types. The change breaks most of the tests at the moment. Not clear why, as I'm unfamiliar with the testing framework, which isn't giving me a lot of feedback.