Va1/string-replace-loader

'replace' should allow both strings and functions

jperezov opened this issue · 1 comments

In string-replace-loader/lib/getOptionsArray.js, line 13,

type: 'string'

should read

types: ['string', 'function']

This would allow for template functions to be used for the replace value.

Va1 commented

supported as of 2.2.0. thank you