Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Babel is NOT working well with the super keyword

I have this package.json: { "name": "theme1", "version": "1.0.0", "description": "", "main": "index.js", "...
poashoas's user avatar
  • 1,896
0 votes
0 answers
22 views

How to use merge-stream with ES6 imports?

I'm using Gulp 5, and I converted my Gulpfile to use modules instead of CommonJS. It mostly works but I'm having trouble with the merge-stream package. Here's the minimal version of my original code: ...
DisgruntledGoat's user avatar
0 votes
0 answers
19 views

BrowserSync throws aggregate Error with Gulp 5/Node.js v.20

I am attempting to rebuild my gulpfile.js after upgrading to Gulp 5 and the most recent stable version of Node.js (20.11.1). The gulpfile below works just fine with Node.js version 16.14.0, but is ...
joakland's user avatar
  • 145
0 votes
1 answer
32 views

How to Pass Variables between Nested Includes in Gulp File Include?

I'm using gulp-file-include to build my HTML files and I'm running into an issue with passing variables between nested include files. File Structure: . ├── index.html └── template-parts └── common ...
Muhammed Muneer's user avatar
1 vote
1 answer
32 views

Why don't folders delete in gulp tasks? [duplicate]

This task work ok. I use path ".wwwroot/css/site.min.css" var gulp = require("gulp"); const fs = require('fs').promises; gulp.task('clean', async function (done) { try { ...
Viktor Bylbas's user avatar
0 votes
0 answers
12 views

scssTask Errored during Gulp-Sass execution

I'm just starting out with Gulp via VS Code but I can't seem to get it working. Here is my Gulp file: // Initialize modules const { src, dest, watch, series } = require('gulp'); const sass = require('...
arabella turner's user avatar
0 votes
1 answer
26 views

I'm having trouble compressing css and js files with gulp [closed]

The files are coming out minified, but Google blames the files for weight and says to compress them using gzip. But I don't know how to use gzip in html. I need help on how to compress these files ...
Gabriel Edu's user avatar
1 vote
0 answers
22 views

LitElement with SASS

I am currently using Lit to learn more about custom web components and I am trying to use .scss files to render an style for my components; but I can't find a way to compile the scss files in a way ...
Vitor Mignoni's user avatar
0 votes
1 answer
29 views

gulp 5 src() make the images format unsupported

I have some images in my project that I want to compress them using gulp But first I want to move them to the dist folder so I made this simple task function test(){ return src("src/images/*&...
Sarl sbeer's user avatar
0 votes
0 answers
26 views

when calling gulp, i get error with require() of ES Module

I'm trying to start project with: npm i gulp but I get the following problem, when I call gulp in terminal: Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/user_1/Desktop/ants-and-me backup/...
Natalia Posnova's user avatar
1 vote
0 answers
31 views

Uncaught SyntaxError with DOMPurify 3.1.6 and 2.4.9: Invalid Regular Expression due to ${...} in Minified Files

I was using DOMPurify 2.3.10 with Gulp for minifying files, and everything worked fine. However, after upgrading to versions 3.1.6 or 2.4.9, I'm getting the following error: Uncaught SyntaxError: ...
Maldanna Gk's user avatar
0 votes
0 answers
28 views

How to sync files between containers after build?

I have two containers: APP and GULP. The GULP container runs gulp watch to compile front-end theme. The problem is that compiled files are not being synced to the APP container. What is the correct ...
anderlaini's user avatar
  • 1,751
0 votes
0 answers
20 views

Compiling Angular 12.2.17 code as a library, get the following error Error: No supported format property to consider among [tsconfig-aot.json]

I'm having the following error: Error: No supported format property to consider among [tsconfig-aot.json]. Supported properties: fesm2015, fesm5, es2015, esm2015, esm5, main, module, browser I am ...
molivera's user avatar
0 votes
0 answers
10 views

gulp nunjucksRender not compiling html files

I am trying to render nunjucks .njk files into HTML file This gulpfile.js... var gulp = require("gulp"); var nunjucksRender = require("gulp-nunjucks-render"); var browserSync = ...
satnamsingh's user avatar
0 votes
0 answers
44 views

Docker & Gulp Browser Sync

I'm migrating my WordPress projects from Wamp to Docker ( WSL) and I have problems getting Gulp to work properly. The changes to CSS are not seen, although Gulp successfully compiles assets as well as ...
BlazZ's user avatar
  • 19

15 30 50 per page
1
2 3 4 5
846