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
.src(scripts, { allowEmpty: true })
.pipe(babel())
.pipe(babel(
{
presets: ['@babel/preset-env']
}
))
.pipe(concat('theme.min.js'))
.pipe(uglify())
.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",
"dependencies": {
"@babel/preset-env": "^7.4.5",
"bootstrap": "^4.3.1",
"browser-sync": "^2.26.3",
"del": "^4.1.0",