Skip to content

Instantly share code, notes, and snippets.

@richavyas
Last active May 18, 2016 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richavyas/aa20a994d653f0f1c28645cf909cd5c1 to your computer and use it in GitHub Desktop.
Save richavyas/aa20a994d653f0f1c28645cf909cd5c1 to your computer and use it in GitHub Desktop.
var map = {
'app': 'app', // 'dist',
'@angular2-material': 'node_modules/@angular2-material',
'clicomponent': 'node_modules/clicomponent'
};
var materialPackages = [
'button',
'card',
'checkbox',
'core',
'icon',
'input',
'list',
'progress-bar',
'progress-circle',
'radio',
'sidenav',
'toolbar'
];
materialPackages.forEach(function(pkg) {
let name = '@angular2-material/' + pkg;
packages[name] = {
format: 'cjs',
defaultExtension: 'js',
main: pkg + '.js'
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment