mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(schematics): detect package version from node modules (#12535)
This commit is contained in:
committed by
Joey Perrott
parent
3357e70d5f
commit
4ecde453a7
@@ -64,12 +64,12 @@ task('material:prepare-release', sequenceTask(
|
||||
));
|
||||
|
||||
task('material:copy-schematics', () => {
|
||||
src(schematicsGlobs).pipe(dest(join(releasePath, 'schematics')));
|
||||
return src(schematicsGlobs).pipe(dest(join(releasePath, 'schematics')));
|
||||
});
|
||||
|
||||
/** Copies all prebuilt themes into the release package under `prebuilt-themes/` */
|
||||
task('material:copy-prebuilt-themes', () => {
|
||||
src(prebuiltThemeGlob)
|
||||
return src(prebuiltThemeGlob)
|
||||
.pipe(gulpRename({dirname: ''}))
|
||||
.pipe(dest(join(releasePath, 'prebuilt-themes')));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user