Javascript – why is npm liabrary is not a function?
There is a problem with npm library for html minify. I downloaded and declared a library import htmlmin from 'html-minifier'; but when i try to run a gulp task export const html = () => { return gulp.src("source/*.html") .pipe(htmlmin({ collapseWhitespace:…