0 votes
in JAVA by
What is require() in gulpfile.js?

1 Answer

0 votes
by
require() is used to load core gulp and gulp plugins. You need to load all the gulp plugins in your gulpfile.js using require(), if you wish to use them.

var gulp = require('gulp'),

    jshint = require('gulp-jshint'),

    uglify = require('gulp-uglify'),

    concat = require('gulp-concat');

Related questions

0 votes
0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
+1 vote
asked Jan 20, 2022 in JAVA by rajeshsharma
...