-
Notifications
You must be signed in to change notification settings - Fork 29
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
HTML visible="false"
gets minified to visible
with no assigned value
#62
Comments
Thanks for submitting the bug report! While I'm trying to figure out how to fix it I'd suggest you disabling the following minification in your config until the fix will be released: collapseBooleanAttributes: false
|
Thanks, @maltsev! That did the trick, at least until you release a more robust solution, if necessary. I didn't see
That's odd, because it's actually working for me. I'm using Parcel, but it worked automatically after installing |
Seems like you are :-) Here is the link to that section. |
Ah, not sure how I missed that. Thanks, @maltsev! |
The bug has been fixed. The fix will be released in 0.2.0 version (I think next week). |
Released: 0.2.0. |
Awesome! Thanks, @maltsev! Was the issue specific to Thanks again. |
I checked the A-Frame docs and it seems that |
Excellent! Thank you, sir. When do you expect the new release will be available via npm? |
Scratch that last comment. Got confused with Parcel for a second. Thanks for everything! |
I'm using ParcelJS
1.9.7
with htmlnano to bundle my A-Frame/WebVR/XR apps, and I've noticed some weird behavior with my apps after bundling the production build.I discovered that this is because
visible="false"
in HTML is getting minified tovisible
with no assigned value, rendering the attribute ineffective.visible
is a valid attribute for A-Frame, so I need it to get minified with the correct value.I've tried overriding the documented options in
.htmlnanorc
, but none of them seems to fix the issue.How can I avoid this? Any help would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: