mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Build ES5/ES6 in parallel to share gulp deps (#615)
* Build ES5/ES6 in parallel to share gulp deps * Rollup es5 files into build-temp-es5 * Use correct ES5 path for compatibility.js
This commit is contained in:
committed by
Paulus Schoutsen
parent
41e97a6f83
commit
3ff9fe1041
@@ -11,7 +11,7 @@ gulp.task('run_rollup_es5', () => gulp.src([
|
||||
'demo_data/demo_data.js',
|
||||
])
|
||||
.pipe(rollupEach(rollupConfig, rollupConfig))
|
||||
.pipe(gulp.dest('build-temp')));
|
||||
.pipe(gulp.dest('build-temp-es5')));
|
||||
|
||||
gulp.task('run_rollup', () => gulp.src([
|
||||
'js/core.js',
|
||||
@@ -24,8 +24,8 @@ gulp.task('run_rollup', () => gulp.src([
|
||||
|
||||
gulp.task('ru_all_es5', ['run_rollup_es5'], () => {
|
||||
gulp.src([
|
||||
'build-temp/core.js',
|
||||
'build-temp/compatibility.js',
|
||||
'build-temp-es5/core.js',
|
||||
'build-temp-es5/compatibility.js',
|
||||
])
|
||||
.pipe(gulp.dest('build-es5/'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user