我知道不建议混用。但是如果我就是想混用,webpack 中该怎么配?
虽然不知道你说的混用是什么意思,这有一段兼容两种用法的判断,在插件中非常常见的写法
https://github.com/cnguu/watermark-base64/blob/master/src/watermark-base64.js#L3-L8
2.1m questions
2.1m answers
60 comments
57.0k users