A
A
Anton Schultz2020-02-21 11:21:56
gulp.js
Anton Schultz, 2020-02-21 11:21:56

How can you compress html, js and css files without the need for a clear syntax style?

Tried to use gulp-compress

In this line it throws an error

let catLoader = document.querySelector(".cat-loader");

But gave an error5e4f92e24e45f806323457.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyach Gor, 2020-02-21
@sharnirio

Replace gulp-uglify with gulp-uglify-es in the project as the former doesn't support es6 - or write in es5.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question