Feature/#35 build tools #36

Merged
Serraniel merged 41 commits from feature/#35-build-tools into develop 2020-09-06 21:20:03 +02:00
Showing only changes of commit 556341bc97 - Show all commits

View file

@ -0,0 +1,161 @@
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const gulp = require('gulp');
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const cssnano = require('cssnano')
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const gulpLoadPlugins = require('gulp-load-plugins')
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const uglify = require('gulp-uglify-es').default;
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const del = require('del');
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const $ = gulpLoadPlugins()
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
$.sass.compiler = require('sass');
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
/* ============================================================================
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Base consts
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
============================================================================ */
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// Project sources
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const src = {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
root: 'src',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
styles: 'src/stylesheets',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
scripts: 'src/javascript',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
images: 'src/images',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// Build path
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const tmp = {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
root: '.tmp',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
styles: '.tmp/stylesheets',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
scripts: '.tmp/javascript',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
images: '.tmp/images',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
vendor: '.tmp/libs',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
maps: '../sourcemaps',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// Dist path
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const dist = {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
root: 'dist',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
styles: 'dist/stylesheets',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
scripts: 'dist/javascript',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
images: 'dist/images',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
vendor: 'dist/libs',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
maps: 'dist/sourcemaps',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// Build mode
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const isProd = process.env.NODE_ENV === 'production';
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
const isDev = !isProd;
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
/* ============================================================================
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Build tasks
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
============================================================================ */
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('styles', () => {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
return gulp.src(`${src.styles}/*.scss`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.plumber())
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// sourcemap initialization
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if(isDev, $.sourcemaps.init()))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// sass compilation
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.sass.sync({
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
outputStyle: 'expanded',
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
precision: 7,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
includePaths: ['.'],
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}).on('error', $.sass.logError))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// autoprefix
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.autoprefixer())
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// out stream size
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.size({
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
showFiles: true
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(tmp.styles))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.rename({ suffix: '.min' }))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// minimize and optimize
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if('*.css', $.postcss([
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
cssnano({
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
safe: true,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
autoprefixer: false,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
zindex: false,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
reduceIdents: {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
keyframes: true,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
},
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
})
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
])))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// out stream size
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.size({
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
showFiles: true
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// write sourcemaps
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if(isDev, $.sourcemaps.write(tmp.maps)))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(tmp.styles))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
})
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('scripts', () => {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
return gulp.src(`${src.scripts}/**/*.js`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.plumber())
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if(isDev, $.sourcemaps.init()))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.babel())
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.rename({ suffix: '.min' }))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if('*.js', uglify({ compress: { drop_console: isProd, drop_debugger: isProd } })))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.size({
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
showFiles: true,
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
}))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.if(isDev, $.sourcemaps.write(tmp.maps)))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(`${tmp.scripts}`))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
})
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('images', () => {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
return gulp.src(`${src.images}/**/*`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.plumber())
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.imagemin([
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
$.imagemin.gifsicle({ interlaced: true }),
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
$.imagemin.mozjpeg({ progressive: true }),
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
$.imagemin.optipng(),
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
$.imagemin.svgo({ plugins: [{ cleanupIDs: false }] })
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
]))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe($.size({ title: 'images' }))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(tmp.images))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
})
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
/* ============================================================================
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Clean
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
============================================================================ */
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('clean:build', del.bind(null, [tmp.root]))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('clean:dist', del.bind(null, [dist.root], { force: true })) // Das Force brauchen wir, da das Assets Verzeichnis außerhalb des Working Directories ist.
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('clean', gulp.series('clean:build', 'clean:dist'))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
/* ============================================================================
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
BUILD CLEAN ALL
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
============================================================================ */
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('build', gulp.series('clean:build', 'images', 'scripts', 'styles'));
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
/* ============================================================================
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
DIST CLEAN ALL
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
============================================================================ */
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('dist:copy', (done) => {
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// copy vendor
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.src(`${tmp.vendor}/**/*`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(dist.vendor))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// copy images
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.src(`${tmp.images}/**/*`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(dist.images))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// copy scripts
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.src(`${tmp.scripts}/**/*.{min.js,min.js.gz}`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(dist.scripts))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// copy styles
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.src(`${tmp.styles}/*.{min.css,min.css.gz}`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(dist.styles))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
// sourcemaps
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.src(`${tmp.root}/**/*.map`)
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
.pipe(gulp.dest(dist.root))
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
done();
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
})
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```
gulp.task('dist', gulp.series('clean', 'build', 'dist:copy'));
Serraniel commented 2020-09-04 16:08:00 +02:00 (Migrated from github.com)
Review
        debug: isDev
```suggestion debug: isDev ```