SlexAxton/require-handlebars-plugin — pull request #21 by howardr (2012-04-12 18:22:57+00:00)
Title: changing default config to exclude i18n precompiler and underscore on build

I added a pragma and a manual module exclude to get some of the dev and build dependencies out of my final main.js file.

To get all of the modules that depended on underscore out of my build, I had to add `excludeAfterBuild: true` to the `pragmasOnSave` property in app.build.js. At this point, there were no modules that depeneded on underscore within my final built main.js, however underscore was still being included. To finally exclude underscore, I had to add `exclude: ['underscore']` to my main.js module config within app.build.js.

This works for my setup, but not really sure if this will bust the handlebars plugin for other use cases.

Thoughts?