Top "Gulp" questions

Gulp is a JavaScript build system, Node.

SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' - Gulp

Consider the following two files: app.js import Game from './game/game'; import React from 'react'; import ReactDOM from …

javascript gulp ecmascript-6 browserify babeljs
Looking for way to copy files in gulp and rename based on parent directory

For each module I have some files that need to be copied over to the build directory, and am looking …

node.js gulp
gulp globbing- how to watch everything below directory

This is a pretty dumb question, but I haven't really been able to find a satisfactory answer: How do I …

glob gulp
Use gulp to select and move directories and their files

I'm currently using gulp to call a bash script that cleans my dist/ directory and moves the appropriate files to …

node.js glob gulp
How to Gulp-Watch Multiple files?

I have something like this: gulp.task('default', ['css', 'browser-sync'] , function() { gulp.watch(['sass/**/*.scss', 'layouts/*.css'], function() { gulp.run(…

css gulp gulp-watch
How can I set an environment variable as gulp task?

I don't want type the extra arguments NODE_ENV='production' gulp every time I run gulp to set an environment …

node.js gulp environment-variables
Gulps gulp.watch not triggered for new or deleted files?

The following Gulpjs task works fine when editing files in the glob match: // watch task. gulp.task('watch', ['build'], function () { …

javascript node.js gulp
Error: Couldn't find preset "es2015" relative to directory "/Users/username"

I get the following error when trying to use gulp-babel: Error: Couldn't find preset "es2015" relative to directory "/Users/username" …

javascript node.js ecmascript-6 gulp babeljs
Error: ENOENT: no such file or directory, scandir

I scaffold an app using jhipster which is microservice gateway using cassandra db and using maven to build which was …

maven cassandra gulp jhipster
Gulp + Webpack or JUST Webpack?

I see people using gulp with webpack. But then I read webpack can replace gulp? I'm completely confused here...can …

node.js webpack gulp