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

Targeting of Builds #20

Closed
kitsonk opened this issue Mar 21, 2016 · 2 comments
Closed

Targeting of Builds #20

kitsonk opened this issue Mar 21, 2016 · 2 comments

Comments

@kitsonk
Copy link
Member

kitsonk commented Mar 21, 2016

Broken off from #18.

How do we deal with ES6+ only distributions effectively?

From a problem statement, it is essentially an end user should be able to build an optimized build that targets a "modern browser" and effectively elides unnecessary code while still maintain the same API so the user does not have to rewrite their code. We should also provide them with the appropriate tooling to be able to also provide code that can be elided when targeting a "modern browser". We may also want to include a pre-built "modern" version in our distributions to make it easy for someone to grab-and-go.

There are at least three keys to this puzzle:

  • We need a better understanding of how we are going to elide code with the has API.
  • We need Conditional Decorators which is targeted for TypeScript 2.1.
  • We need Granular Targeting which doesn't have an item yet on the TypeScript roadmap but it is committed (I suspect it is an omission, likely 2.1).

Are there any other thoughts/considerations/etc?

@kitsonk kitsonk added this to the 2.0.0 milestone Mar 21, 2016
@kitsonk kitsonk modified the milestones: 2016.06, 2.0.0 Apr 8, 2016
@kitsonk kitsonk modified the milestones: 2016.06, 2016.07 Jul 4, 2016
@kitsonk kitsonk modified the milestones: 2016.07, 2016.08 Aug 1, 2016
@kitsonk kitsonk removed this from the 2016.08 milestone Oct 4, 2016
@dylans
Copy link
Member

dylans commented Jan 12, 2017

Conditional Decorators do not seem to be on the roadmap yet.

Granular targeting (or at least the things it was to cover) does seem to be supported in 2.1.

@dylans dylans added this to the 2017.02 milestone Jan 12, 2017
@dylans dylans modified the milestones: 2017.03, 2017.02 Feb 19, 2017
@dylans dylans modified the milestones: 2017.04, 2017.03 Mar 25, 2017
@dylans dylans added the beta3 label Mar 25, 2017
@dylans dylans modified the milestones: 2017.06, 2017.04 Apr 8, 2017
@eheasley eheasley modified the milestones: 2017.06, 2017.07 Jun 6, 2017
@kitsonk
Copy link
Member Author

kitsonk commented Jul 27, 2017

We are delivering build optimization in dojo/cli-build-webpack#172, there isn't much more that is actionable from this at the moment. It gives effective eliding of built in functionality at build time.

@kitsonk kitsonk closed this as completed Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants