kangax / kangax/html-minifier

Cut whitespaces in Vue variables

Open
#958 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
577
PR merge metrics
No merged PRs in 30d

Description

Hi,
I made some "app" with Vue running with a CDN (Webpack is a too big hassle for me) and use NPM to build my "dist/". Everything runs great and smooth, but I've noticed that html-minifier leaves `{{ some.variable }}` with spaces (mustache).

Is there a way to remove those spaces with regex, so that they turn into `{{some.variable}}`. That's only saving 2 bytes, but **per variable**, so it sums up pretty quickly.

Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.