Fix for #987
This commit is contained in:
parent
cd49f5adfc
commit
40029f5072
|
@ -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));
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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",
|
||||
|
|
Reference in New Issue