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.

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

Reply via email to