whitespace-se / storybook-addon-html

A Storybook addon that extracts and displays compiled syntax-highlighted HTML
Other
95 stars 44 forks source link

All comments are stripped from static build #113

Open cthompsonpltw opened 8 months ago

cthompsonpltw commented 8 months ago

Our internal designers use HTML comments to give instruction to external designers who use the HTML Preview contents in their design (copy/paste).

The issue is that the static build strips all html comments while using npm run storybook leaves them in (this caused some confusion with our internal designers).

I'm hoping there's a way to instruct Storybook to leave these comments in place after the static build?

If I'm just blind, I apologize!