Closed benjaminlewandowski closed 3 years ago
Sorry I've been so slow to review this, it's been a busy month!
Thanks for suggesting this feature and for the excellent PR. There's just one change I'd ask you to consider, I'll leave a comment below.
This looks great. Thanks! It'll be included in the next release to npm.
42
added noscript wrapper function with additonal config option. When noscript tag is added, the orignal image gets an .js-image class so it can be disabled, the noscript tag gets an .nojs-image class.