PlayForm / Compress

🗜️ Compress —

Home Page:https://NPMJS.Org/@playform/compress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can we configure a utility?

kireerik opened this issue · comments

Using compress({js: {comments: false}}) I am getting the following error when executing astro build:

Error: Cannot compress file <filepath>!

 

Using compress() (or compress({js: true})) works, but there are some comments (as expected since some is the default setting).

Interesting, I'll look into it.

Hi @kireerik, can I reach you offline for more information, my Discord is nikolahristov#1833. Thank you!

I can't seem to find you on Discord like that. Maybe it is easier to ask for more information here.

I sent a friend request.

This terser setting goes under the format options.

So it works like this as expected: compress({js: {format: {comments: false}}})

This is not a bug.