dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
25 stars 34 forks source link

Enhance `build` to produce layer files #59

Closed rishson closed 7 years ago

rishson commented 8 years ago

A lá dojo1.

kitsonk commented 8 years ago

Refs dojo/meta#34

matt-gadd commented 8 years ago

@rishson can we state the problem rather than dictating a solution. there are a variety of ways we will want to make our apps performant at build time.

rishson commented 8 years ago

@matt-gadd fair point. I'll create a 'performance' epic on cli to start discussion on what we can do to create well behaved, performant apps.

kitsonk commented 8 years ago

So are we keeping this open then?

As far as a user story, I would say this one is one like this:

In complex web applications with multiple views, where certain views were in order to have a functional application, not all modules are needed to be loaded upon page load, and groups of modules, with any additional dependencies not already loaded, can be loaded efficiently.

In Dojo 1, this was accomplished by allowing the developer to group modules into logical sets which then allowed the developer to specify "layers" to allow efficient incremental loading of code and other resources as triggered by certain actions in the application.

agubler commented 8 years ago

I think that this would certainly warrant being kept open as a story, maybe under the wider performance epic.

agubler commented 7 years ago

This should probably be moved to cli build, but with more details of the problem

dylans commented 7 years ago

Issue moved to dojo/cli-build #59 via ZenHub