On 3/18/17, 9:56 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>In principle that sounds good, but what will make sure that all the
>necessary files are loaded?
>
>Also, will that effect the google compiler being able to optimize the
>code?
>
>Ah. I think I understand. You’ll still output the requires in the main
>app, but you’ll build the list from js tags in the files. That way there
>will be no need to ever modify the original js files. Correct?

Yes, that's the plan.  In theory we only need to modify the main.js file.
Right now we read and write almost every file.

-Alex

>
>Harbs
>
>> On Mar 18, 2017, at 4:22 PM, Alex Harui <aha...@adobe.com> wrote:
>> 
>> That said, I'm now planning to try to change the compiler output to only
>> emit goog.requires for prototype dependencies and uses a special jsdoc
>>tag
>> in place of all of the other goog.requires we currently output.  That
>> might make compiles even faster because we won't have to muck with the
>> list of requires on each compile.
>

Reply via email to