W01fw00d / cooking-with-amateurs

Cooking Recipes App. Uses Chemistry-UI
0 stars 0 forks source link

html/comments in prod #62

Open W01fw00d opened 2 years ago

W01fw00d commented 2 years ago

Remove automatically comments on code running in production.

Comments in index.html are not being removed right now, I think we need to configure webpack for that: https://stackoverflow.com/questions/61342850/webpack-remove-html-comments-on-production-build

I think comments in .tsx files are being removed by default on the bundle process already, so most files are ok already.