gulpfile.js
// Bring third party dependencies from node_modules into vendor directory
Bring third party dependencies from node_modules into vendor directory
Bring third party dependencies from node_modules into vendor directory
function modules() {
    let knockout = gulp.src('./node_modules/knockout/build/output/**/*')
        .pipe(gulp.dest('./vendor/knockout'));
    let codemirror = gulp.src('./node_modules/codemirror/lib/**/*')
        .pipe(gulp.dest('./vendor/codemirror'));
    let codemirrorModes = gulp.src('./node_modules/codemirror/mode/**/*')
        .pipe(gulp.dest('./vendor/codemirror/mode/'));
    let codemirrorTheme = gulp.src('./node_modules/codemirror/theme/*')
        .pipe(gulp.dest('./vendor/codemirror/theme/'));
    let bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*')
        .pipe(gulp.dest('./vendor/bootstrap'));
    let jquery = gulp.src([
        './node_modules/jquery/dist/*',
        '!./node_modules/jquery/dist/core.js'
    ])
        .pipe(gulp.dest('./vendor/jquery'));
    return merge(bootstrap, jquery, knockout, codemirror, codemirrorModes, codemirrorTheme);
}
function modules ( ) { let knockout = gulp . src ( './node_modules/knockout/build/output/**/*' ) . pipe ( gulp . dest ( './vendor/knockout' ) ) ; let codemirror = gulp . src ( './node_modules/codemirror/lib/**/*' ) . pipe ( gulp . dest ( './vendor/codemirror' ) ) ; let codemirrorModes = gulp . src ( './node_modules/codemirror/mode/**/*' ) . pipe ( gulp . dest ( './vendor/codemirror/mode/' ) ) ; let codemirrorTheme = gulp . src ( './node_modules/codemirror/theme/*' ) . pipe ( gulp . dest ( './vendor/codemirror/theme/' ) ) ; let bootstrap = gulp . src ( './node_modules/bootstrap/dist/**/*' ) . pipe ( gulp . dest ( './vendor/bootstrap' ) ) ; let jquery = gulp . src ( [ './node_modules/jquery/dist/*' , '!./node_modules/jquery/dist/core.js' ] ) . pipe ( gulp . dest ( './vendor/jquery' ) ) ; return merge ( bootstrap , jquery , knockout , codemirror , codemirrorModes , codemirrorTheme ) ; }
Bring third party dependencies from node_modules into vendor directory
Bring third party dependencies from node_modules into vendor directory
// Bootstrap // Bootstrap // jQuery