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
JS Distribution Strategy #2428
Comments
I'm tracking the registry stuff over here, jspm/registry#385, mostly blocked until we have .js extensions. Note that consuming commonJS works, but when there's a problem with the build (like there is now), we're sort of stuck until the next bump. |
example of the kind of overrides needed to use it - not a big issue, but just one more bit of friction to get up and running. https://github.com/robwormald/ng2-jspm-seed/blob/master/jspm.conf.js#L34-L41 |
@robwormald renaming es6 to js and cleaning up our package.json should happen and are non-controversial (or least this is the place for someone to make them controversial). I will open separate issues for those. We agree that the bundle is not the way to go for es6 or ts consumers, thats why we publish es6, and ts sources to npm on top of the es5 (commonjs). I am ok with adding jspm info to our package.json as long as it has no maintenance cost. Npm would still be the preferred method for delivering and consuming Angular2. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Happy to tackle some of these, wanted to list them in case they're already on the roadmap.
JSPM / SystemJS now support Typescript (including in-browser transpilation), so it might be a good time to look at getting set up in the registry properly. Doing
jspm install npm:angular2
again requires you to manually override to be able to access the ES6 source. We can easily add angular2 to the registry, and add the ovveride there (to point to es6/dev or es6/prod), but it would be nice if it was set up correctly in the repo (and had .js file extensions)Also note that the Loader spec is changing, and the latest version of SystemJS (0.17+) has a number of breaking changes that may bite us if they're not accounted for: whatwg/loader#52
The text was updated successfully, but these errors were encountered: