gtm4wp icon indicating copy to clipboard operation
gtm4wp copied to clipboard

Feature request: Minify JS

Open ech01 opened this issue 5 years ago • 5 comments

Hoping that minification can be introduced to the build process.

ech01 avatar Jul 26 '19 14:07 ech01

#68

vincentkoc avatar Jul 28 '19 05:07 vincentkoc

Generally if you are using a cache plugin (which I usually recommend) they do the minification pretty well but of course we can add more support to this as well.

duracelltomi avatar Jul 30 '19 08:07 duracelltomi

The files at https://github.com/duracelltomi/gtm4wp/tree/master/js are still unminified. Could you please minify these into e.g. dist folder and use from there?

Came across this today, as Semrush reported hundreds of issues (multiple times on each page that loads the gtm4wp's javascript resources), and all of them come from duracelltomi-google-tag-manager/js/.

jkananen avatar May 04 '22 11:05 jkananen

What is the status of this? Any updates?

zkingdesign avatar Jun 14 '22 05:06 zkingdesign

This has currently lower priority on the TODO list, however, if anyone can help with a PR to have this implemented, I am more than happy to merge it into the core.

duracelltomi avatar Jun 14 '22 08:06 duracelltomi