A
A
Andrey Dyrkov2015-03-12 19:12:23
gulp.js
Andrey Dyrkov, 2015-03-12 19:12:23

Which plugin moves folders and files?

You need to move the page markup files to the folder with the project build, which plugin and a link to the documentation pliz)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey B., 2015-03-12
@VIKINGVyksa

why a plugin, gulp can do it out of the box
example:

// Сборка HTML
gulp.task('html:build', function () {
    gulp.src('src/*.html') //Выберем файлы по нужному пути
        .pipe(gulp.dest('build/')) //Выплюнем их в папку build
});

R
rapkin, 2015-03-12
@rapkin

gulp-rename https://www.npmjs.com/package/gulp-rename

var rename = require("gulp-rename");
 
gulp.src("hello.txt")
    .pipe(rename("goodbye.md"))
    .pipe(gulp.dest("./dist"));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question