Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
1 vote
1 answer
46 views

Building sass with gulp - includePaths not having any effect

I am attempting to build a sass file that imports bootstrap from the node_modules folder. I have added the bootstrap source folder to the includePath list. But for some reason, the gulp compiler is ...
Andrew Shepherd's user avatar
0 votes
1 answer
41 views

How to integrate Vue.js 3 with SPFx 1.21.1?

I'm trying to develop my first SPFx (1.21.1) web part using Vue (3.5.22) without success. This is my package.json: { "name": "spfx", "version": "0.0.1", &...
Jesús López's user avatar
1 vote
1 answer
71 views

Is it possible to set up a gulp-based build to compile css modules for react components

I have an existing Express project where I'd like to add css modules locally scoped to my react components. The project relies on a gulp build script. I have recently added react to the project to ...
kdub1312's user avatar
  • 987
1 vote
0 answers
45 views

NPX gulp generated sourcemaps keep changing line endings (CRLF vs LF)

I'm running into a recurring problem after running npx gulp to initiate the build process (scss -> css builds). After each initialisation run,Git shows that a huge number of .css.map files have ...
Aryan K.'s user avatar
0 votes
0 answers
49 views

How to connect html-minifier-next to gulp

Unfortunately project page doesn't have documentation about how to connect html-minifier-next to gulp. Search showed me one solution. I tried it. ... const htmlMinify = require('html-minifier-next'); ...
Alexander's user avatar
1 vote
1 answer
46 views

How handle the child process errors in Gulp?

The error in child process not always means that something fatal occurred. For example in "vue-tsc" case, if there will be some TypeScript errors, the error parameter will be not null while &...
Takeshi Tokugawa YD's user avatar
0 votes
0 answers
70 views

gulp.src() doesn't find files with *.ts, but finds file when i put nameOfFile.ts [duplicate]

I'm migrating from ES5 to ES6 and as a result I'm implementing modules. I have a Core.ts file that has a class Core that holds functions that are used in many .ts files. I migrated Core.ts to be ...
Nikola Lazarov's user avatar
0 votes
0 answers
110 views

After upgrading cordova environment, getting cannot run sass task missing in gulpfile.js

I have upgraded many components of my dev environment and I am now getting the following error when trying to compile my app. Everything was running fine before I started the upgrades, my app would ...
rolinger's user avatar
  • 3,196
1 vote
1 answer
218 views

autoprefixer is not a function

I have used this code on other projects with no problem. For some reason, when running the clean_make_css, it comes back with an error autoprefixer is not a function I added a checker, checkFunc, ...
user2212524's user avatar
0 votes
0 answers
43 views

Gulp, node-sass and gulp-core-build-sass all failed installing?

I had it with npm packages. I tried installing gulp to run gulp trust-dev-cert on my would-be-deployed application. It wouldn't install as it runs on an error: npm error code 1 npm error path C:\Users\...
user30266210's user avatar
0 votes
1 answer
45 views

Gulp changes reflects only on manual refreshing not automatically

I’m reaching out for some assistance regarding an issue I’ve encountered with my Gulpfile setup. I’ve configured the browser sync option in the file, and while changes are correctly getting reflected ...
ANANTHU C's user avatar
  • 127
-1 votes
1 answer
28 views

How to remove specific types of files from a gulp process

Within my gulpfile.js file, after my tasks run I would like to remove all my .css files from my pub/ directory after they have landed there. This is my most modern attempt but my files never get ...
klewis's user avatar
  • 8,548
2 votes
0 answers
32 views

Unusual Gulp Task Behaviour

I am struggling with a Gulp Task and what it is doing. Let me start with the first task: gulp.task('html-template:join', (cb) => { gulp.src('./src/template-data/**/*.json') .pipe(...
Takuhii's user avatar
  • 967
1 vote
2 answers
222 views

Sass @use 'bootstrap/scss/bootstrap' failing with 'Can't find stylesheet to import' in minimal project

I'm encountering a persistent issue where Sass is unable to resolve the import path for Bootstrap, even in a minimal test project. I'm using gulp-sass with Dart Sass. Here's the problem: I'm trying to ...
James's user avatar
  • 870
0 votes
1 answer
167 views

"gulp-sass" and "sass" with ES module is not working , when try to get css from scss files

I’m using Gulp v5.0 to compile, minify, and clean the CSS for my application. I've migrated from CommonJS to ES Modules (ESM) in my Gulp setup. There’s a custom component (maintained by another team) ...
Deepak Singh's user avatar

15 30 50 per page
1
2 3 4 5
844