Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build process and alpha 28 #4

Open
evelant opened this issue Jun 29, 2015 · 1 comment
Open

Build process and alpha 28 #4

evelant opened this issue Jun 29, 2015 · 1 comment

Comments

@evelant
Copy link

evelant commented Jun 29, 2015

This does not seem to work with alpha 28. What process did you use to build this? I didn't see any tasks in the angular gulpfile which would build a bundle of angular2_material like this.

@urish
Copy link
Owner

urish commented Jun 29, 2015

Hi, I spoke with the team about integrating this into their build process, but they said this is too early for them to have a published angular-material2, as they are still experimenting with it.

This is the gulp task I used in my build:

gulp.task('bundle.js.material', ['build.js.material'], function() {
  var devBundleConfig = {
    meta: {
      rx: { 
        build: false
      }
    },
    paths: {
        '*': 'dist/js/dev/es6/*.es6'
    }
  }

  return bundler.bundle(
      devBundleConfig,
      'angular2_material/material - angular2/angular2',
      './dist/build/angular2_material.dev.js',
      { sourceMaps: true });
});

I also manually inlined the templates, and added 'modules/*/*.scss' to the sass task source paths.

If you have some time and can create a PR for alpha28, I'd like to update the repo with a fresh build.

@urish urish mentioned this issue Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants