Le 05/11/2015 18:06, Punam Dahiya a écrit :
> Hi
>
> Is specifying lazy loaded resources in comments inside index.html so
> that it gets packaged still a requirement for build process?
>
> https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/index.html#L17
>
> I am no expert in build process and find it confusing that few lazy
> loaded scripts (e.g. info.js) that are not commented inside index.html
> are still getting copied to build_stage making me believe that now its
> redundant to comment lazy loaded files in index.html.
>
> Below link ’See Build script for apps’ doesn’t say much about how we
> are packaging lazy loaded files.
>
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Developing_Gaia/Build_System_Primer#Build_script_for_apps
>
> Any insight on how we are handling and optimizing lazy loaded files in
> Gaia build process is appreciated.

For anybody interested, you can look at the code responsible for this:

https://github.com/mozilla-b2g/gaia/blob/b9098cc03968e3cc71cd0f379713b522398311bc/build/webapp-shared.js#L311-L325

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to