Components: Packaged version is using System.register instead of commonjs

Created on 16 Mar 2016  路  5Comments  路  Source: angular/components

How do you propose this to be used without SystemJS?

I am currently using webpack for my angular 2 app and have been following this repo closely, however with alpha.0 it seems it can only be consumed if you are using SystemJS due to the packages using System.register.

It would be nice to see this usable in a commonjs environment.

P2

Most helpful comment

This should be fixed now with the alpha.1 release.

All 5 comments

@UnwrittenFun Hmm, this looks like a bug in the release process. It was supposed to be commonjs modules in the release.

Isn't it just the simple case of replacing system with commonjs here https://github.com/angular/material2/blob/master/src/tsconfig.json#L7?

It is. The release script was supposed to do that automatically.

This should be fixed now with the alpha.1 release.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Hiblton picture Hiblton  路  3Comments

theunreal picture theunreal  路  3Comments

michaelb-01 picture michaelb-01  路  3Comments

kara picture kara  路  3Comments

constantinlucian picture constantinlucian  路  3Comments