mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Clean rollup (#634)
This commit is contained in:
parent
ef5155984f
commit
7db89d5bc2
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-restricted-syntax": 0
|
"no-restricted-syntax": 0,
|
||||||
|
"no-console": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ function build(es6) {
|
|||||||
.pipe(filter(['**', '!src/entrypoint.html']))
|
.pipe(filter(['**', '!src/entrypoint.html']))
|
||||||
.pipe(gulp.dest(es6 ? 'build' : 'build-es5'));
|
.pipe(gulp.dest(es6 ? 'build' : 'build-es5'));
|
||||||
}
|
}
|
||||||
gulp.task('build_es5', ['ru_all_es5', 'build-translations'], () => build(/* es6= */ false));
|
gulp.task('build_es5', ['ru_all', 'ru_all_es5', 'build-translations'], () => build(/* es6= */ false));
|
||||||
gulp.task('build_es6', ['ru_all', 'build-translations'], () => build(/* es6= */ true));
|
gulp.task('build_es6', ['ru_all', 'build-translations'], () => build(/* es6= */ true));
|
||||||
|
|
||||||
gulp.task('build', ['build_es5', 'build_es6']);
|
gulp.task('build', ['build_es5', 'build_es6']);
|
||||||
|
@ -6,9 +6,6 @@ const rollupConfigEs6 = require('../../rollup.config-es6');
|
|||||||
gulp.task('run_rollup_es5', () => gulp.src([
|
gulp.task('run_rollup_es5', () => gulp.src([
|
||||||
'js/core.js',
|
'js/core.js',
|
||||||
'js/compatibility.js',
|
'js/compatibility.js',
|
||||||
'js/util.js',
|
|
||||||
'js/automation-editor/automation-editor.js',
|
|
||||||
'js/script-editor/script-editor.js',
|
|
||||||
'demo_data/demo_data.js',
|
'demo_data/demo_data.js',
|
||||||
])
|
])
|
||||||
.pipe(rollupEach(rollupConfig, rollupConfig))
|
.pipe(rollupEach(rollupConfig, rollupConfig))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user