How to minify js.liquid files without causing errors?

oreoorbitz
Shopify Partner
253 29 130

Hi, I checked the forums and didn't really see a answer to this.

Maybe some of the people who have more experience optimizing Shopify know the answer.

 

Is there a tool, of config for a tool that'll minify js.liquid files without throwing an error, or cause an error?

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes



You can also contact me directly if you prefer.
Reply 1 (1)

Mircea_Piturca
Shopify Partner
1547 44 346

Shopify will not handle this optimization for you.

Setting up something like Slate, https://github.com/Shopify/slate, can allow you to customize your build and deploy your code with optimizations done.

Finally—Add variant descriptions to your products