import { BuildPackage , buildConfig } from 'material2-build-tools' ; import { join } from 'path' ; export const cdkPackage = new BuildPackage ( 'cdk' ) ; export const materialPackage = new BuildPackage ( 'material' , [ cdkPackage ] ) ; export const cdkExperimentalPackage = new BuildPackage ( 'cdk-experimental' , [ cdkPackage ] ) ; export const materialExperimentalPackage = new BuildPackage ( 'material-experimental' , [ materialPackage ] ) ; export const momentAdapterPackage = new BuildPackage ( 'material-moment-adapter' , [ materialPackage ] ) ; export const examplesPackage = new BuildPackage ( 'material-examples' , [ cdkPackage , materialPackage , momentAdapterPackage ] ) ; materialPackage . exportsSecondaryEntryPointsAtRoot = true ; materialPackage . sourceDir = join ( buildConfig . packagesDir , 'lib' ) ; cdkPackage . copySecondaryEntryPointStylesToRoot = true ; cdkPackage . hasSchematics = true ; materialPackage . hasSchematics = true ; /** List of all build packages defined for this project. */ export const allBuildPackages = [ cdkPackage , materialPackage , cdkExperimentalPackage , materialExperimentalPackage , momentAdapterPackage , examplesPackage ] ;