mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(build): fix build to update components (#1604)
This commit is contained in:
@@ -26,9 +26,9 @@ const tsconfigPath = path.relative(PROJECT_ROOT, path.join(componentsDir, 'tscon
|
||||
|
||||
/** [Watch task] Rebuilds (ESM output) whenever ts, scss, or html sources change. */
|
||||
task(':watch:components', () => {
|
||||
watch(path.join(componentsDir, '**/*.ts'), [':build:components:ts']);
|
||||
watch(path.join(componentsDir, '**/*.scss'), [':build:components:scss']);
|
||||
watch(path.join(componentsDir, '**/*.html'), [':build:components:assets']);
|
||||
watch(path.join(componentsDir, '**/*.ts'), [':build:components:rollup']);
|
||||
watch(path.join(componentsDir, '**/*.scss'), [':build:components:rollup']);
|
||||
watch(path.join(componentsDir, '**/*.html'), [':build:components:rollup']);
|
||||
});
|
||||
|
||||
/** [Watch task] Rebuilds for tests (CJS output) whenever ts, scss, or html sources change. */
|
||||
|
||||
Reference in New Issue
Block a user