Closed regseb closed 1 year ago
I don't think that's the issue you're seeing. It works with require()
. I think your issue already been solved with ab7df2f but I would have to see more code to confirm.
If you look at the stack trace it's saying CssUsageDuplex
needs to be constructed, not DoIUse
.
Actually, the issue is valid but the fix isn't to rewrite the docs, but to fix the CJS export to match the docs.
Fixed by 959d763
Try using v6.0.1
With As a transform stream example in README, I have this error: