Hi Nikhil I think I owe you an answer for a question you posted, on how mfp handles this
In regards to MFP in the latest version (Aug2015). Now we have a two way of creating hybrid apps. In the new way "MFP Cordova Apps" the directory structure is the same as a standard cordova directory structure, our default template doesn't create the "merges", user can create the merges folder and it will work since we use the cordova-cli as the engine. User can also provide a template that could have the merges and any files, and this another way of getting the merges folder created. This is strategy moving forward, mfp is a component of the user's Cordova App, so mfp doesn't constraints or dictates how user should manage their web app files. For the other type of hybrid apps, we have a more prescriptive directory structure (take into account that this was establish before cordova 3.x and cordova project structure existed) user will have a "common" folder (similar to www) then it will have a folder per platform/environment "iphone", "android", etc.. then inside the this "iphone" user will place files to merge into built "www". The thing is the merge worked differently based on the type of file/extension. For .js and .css, it is append to the same filename in common if exist, if it doesn't exist then is a simple copy For other file types (.html, images, etc..) it replaces the file if it exist in common, if it doesn't exist then is a simple copy --Carlos On Wed, Sep 2, 2015 at 9:24 AM Raymond Camden <raymondcam...@gmail.com> wrote: > On Wed, Sep 2, 2015 at 7:33 AM, Nikhil Khandelwal > <nikhi...@microsoft.com> wrote: > > I sort of agree with Raymond that is a useful functionality and is easy > enough to do this for users - by using a 'convention'. Customizing the > build system using hooks sounds more complicated for the developer. How > does ionic & mfp actually achieve this? How does a developer specify > specific versions of files that need to be included only on certain > platforms. > > > > -Nikhil > > > > Here are the Ionic docs for the same idea: > http://ionicframework.com/docs/platform-customization/ > > > > > > -- > =========================================================================== > Raymond Camden, Developer Advocate for MobileFirst at IBM > > Email : raymondcam...@gmail.com > Blog : www.raymondcamden.com > Twitter: raymondcamden > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >