This commit is contained in:
Jake Weston 2019-06-11 11:26:26 -07:00 committed by Jacob Weston
parent cd49f5adfc
commit 40029f5072
3 changed files with 919 additions and 82 deletions

View File

@ -160,7 +160,11 @@ gulp.task('scripts', function() {
]; ];
gulp gulp
.src(scripts, { allowEmpty: true }) .src(scripts, { allowEmpty: true })
.pipe(babel()) .pipe(babel(
{
presets: ['@babel/preset-env']
}
))
.pipe(concat('theme.min.js')) .pipe(concat('theme.min.js'))
.pipe(uglify()) .pipe(uglify())
.pipe(gulp.dest(paths.js)); .pipe(gulp.dest(paths.js));

994
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,7 @@
}, },
"homepage": "https://understrap.com", "homepage": "https://understrap.com",
"dependencies": { "dependencies": {
"@babel/preset-env": "^7.4.5",
"bootstrap": "^4.3.1", "bootstrap": "^4.3.1",
"browser-sync": "^2.26.3", "browser-sync": "^2.26.3",
"del": "^4.1.0", "del": "^4.1.0",