git clone https://github.com/StanislawVictorovich/Blog-Site.git
cd Blog-Site
npm install
gulp start
Then add the loader to your gulp
config. For example:
gulp.task('watching', () => {
return gulp.src(paths.src_js)
.pipe(plumber())
.pipe(sourcemaps.init())
.pipe(babel({
presets: ['@babel/env']
}))
.pipe(concat('all.js'))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest(paths.dst_js))
.pipe(browserSync.stream({ match: 'dist/*.html' }))
})
And run gulp
via your preferred method.
gulp build
This module requires a minimum of gulp v4.0.0.