Closed odensc closed 7 years ago
I've had some weird cases where write-file-webpack-plugin will cause a TypeError: Data must be a string or a buffer error because asset.source() returns an array - this PR fixes that by joining the array by new lines.
write-file-webpack-plugin
TypeError: Data must be a string or a buffer
asset.source()
@gajus Would you mind pushing an update to npm for this?
https://github.com/gajus/write-file-webpack-plugin/tree/v4.0.2
Great, thanks!
I've had some weird cases where
write-file-webpack-plugin
will cause aTypeError: Data must be a string or a buffer
error becauseasset.source()
returns an array - this PR fixes that by joining the array by new lines.