Skip to content

Commit f48e6dd

Browse files
committed
build: fix examples not building
Fixes an error in the `material-examples` build, because the Moment adapter wasn't added as a dependency.
1 parent 76a6e7b commit f48e6dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/gulp/packages.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ import {join} from 'path';
33

44
export const cdkPackage = new BuildPackage('cdk');
55
export const materialPackage = new BuildPackage('material', [cdkPackage]);
6-
export const examplesPackage = new BuildPackage('material-examples', [materialPackage, cdkPackage]);
76
export const momentAdapterPackage = new BuildPackage('material-moment-adapter', [materialPackage]);
7+
export const examplesPackage = new BuildPackage('material-examples', [
8+
materialPackage,
9+
cdkPackage,
10+
momentAdapterPackage
11+
]);
812

913
// The material package re-exports its secondary entry-points at the root so that all of the
1014
// components can still be imported through `@angular/material`.

0 commit comments

Comments
 (0)