Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

gulp delete files

//GULP - DELETE FILES
var gulp = require('gulp');
var del = require('del');

gulp.task('some-task', function() {
	del(['path/file.txt', 'path/img.jpg']);
});

//You may need...
npm install --save-dev gulp del
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript date minus minutes 
Javascript :: react-native android 
Javascript :: discordjs delete all messages in channel 
Javascript :: axios configure base url 
Javascript :: js find all text elements 
Javascript :: pagination jsonplaceholder 
Javascript :: javascript open new window 
Javascript :: js create timestamp with 10 digits 
Javascript :: javascript add element above 
Javascript :: how to validate age above 18 in javascript 
Javascript :: Uncaught Error: Incompatibile SockJS! Main site uses: "1.0.2", the iframe: "1.0.0". 
Javascript :: push state array react 
Javascript :: make image circle css react 
Javascript :: js cypress div text 
Javascript :: javascript stop delay 
Javascript :: express start template 
Javascript :: style font size javascript 
Javascript :: create array javascript numbers 
Javascript :: check if function is async javascript 
Javascript :: make keystore 
Javascript :: discord.js send message to specific channel 
Javascript :: check if a string contains digits js 
Javascript :: how to add button in canvas html5 
Javascript :: parse int into 2 digits format javascript 
Javascript :: change value of key in array of objects javascript 
Javascript :: get span text jquery 
Javascript :: ciclo for javascript 
Javascript :: reactjs limit text display 20 200 characters 
Javascript :: transform javascript 
Javascript :: query select multiple classes 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =