-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surface documentation for @parcel/transformer-css errorRecovery flag #1071
Comments
Thanks to @devongovett 's explanation about the mechanics and reasoning behind So there are a few things in the current CSS docs that I feel could be expanded to make the feature better understood:
Also:
If the above outline of changes looks okay, and if it would be welcome, I'd be happy to put forward a first draft. |
I've found it quite difficult to find information about implementing the
"@parcel/transformer-css": errorRecovery
flag, and was trying various combinations of adding it to.parcelrc
or as a flag on thewatch
orbuild
commands without success.The only approach that seems to work is to add it to
package.json
which I gleaned after many hours of search from a comment in a closed issue:I also surmised that the flag could only be passed to the
css-cli
as this appears to be the only real documentation, but it doesn't mentionpackage.json
at all. Further, search in the documentation doesn't currently return any results forerrorRecovery
or--error-recovery
, nor is there any mention in the sass or css sections of the documentation.Quick digression, I personally really try to avoid adding configuration to
package.json
as it is easily overlooked and hard to remember its there. This is the reason that I spent so long trying to invoke the correct magical gestures that would get the setting to work from within.parcelrc
instead -- if such a thing is possible, I'd be happy to know how.One could say that the documentation on
.parcelrc
is a bit of misdirection in this regard:The text was updated successfully, but these errors were encountered: