4 ms·
Hmm I just had a (perhaps esoteric) issue in an Astro file. Specifying <!-- prettier-ignore --> above a <div> would cause the <style> block at the bottom to b
by jen729w 3y ago
Hmm I just had a (perhaps esoteric) issue in an Astro file. Specifying
<!-- prettier-ignore -->
above a <div> would cause the <style> block at the bottom to become duplicated on save.
Weird as, and I couldn’t be bothered troubleshooting, I just added the file to .prettierignore. But still.
- Princesseuh 3y agoPrettier does not support Astro files natively, so it's the Astro plugin's fault in this case. (I maintain said plugin, so, well, it's my fault)
- jen729w 3y agoHa! Well, I’m happy to help troubleshoot if you’d like?