I open a file called bundle-css.hbs and it looks like a jumbled mess. I’d like to format/prettier it so it’s easier on the eyes to edit. Things I’ve tried:
–installed handlebars formatter extension in VS Code
– VS Code | Preferences | files association | *.hbs: html
It still looks like jumbled mess. Any suggestion would be appreciated.
CSS. Use pure CSS. Why complicate things with Bootstrap, SASS, minify…It just adds bloat and complication.
JavaScript. Use pure JavaScript. Why complicate things with Vue, React. Libraries and frameworks add bloat. Those libraries and frameworks transpile to JavaScript anyway.
Microsoft Silverlight
ActiveX
Adobe Flash
jQuery
They all once ruled with their advanced technologies. But HTML and JavaScript, the default standards, embraced their technologies and made those who used them rewrite to native HTML and JavaScript. I see the same future with today’s popular libraries and frameworks.
I contacted the theme developer and asked for the original file, with formatting and un-minified. He sent me the .css file. I renamed it “bundle-css.hbs” and renamed the original file to “bundle-css-original.hbs”. It works. I’ll play around with it. If anything goes wrong, I’ll revert to the original file.