On Thu, Nov 5, 2015 at 6:06 PM, Punam Dahiya <[email protected]> wrote:
> > 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. Yeah, as Wilson said, you only need the commented line in index.html if the file you want to lazy load lives outside of your app directory. If the file is inside, like info.js (apps/gallery/js/info.js), then you don't need the comment and can simply lazy load that file. You're right, it does seem a bit magical :/
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

