bartsqueezy / ember-handlebars-brunch

This Brunch plugin adds support for pre-compiling Ember Handlebars templates prior to runtime
MIT License
9 stars 32 forks source link

correctly resolve dependency paths #26

Open Scradam opened 7 years ago

Scradam commented 7 years ago

Changes:

  1. Use require.resolve() to correctly resolve paths to files in dependency packages (see node v0.8.0 docs)

This allows the package to correctly function when node_modules directory uses a maximally flat directory structure.

Testing: