isomorphic-tutorial icon indicating copy to clipboard operation
isomorphic-tutorial copied to clipboard

Fix views namespacing errors

Open edshadi opened this issue 11 years ago • 0 comments

If we try to namespace our views (e.g. posts/new.hbs), grunt will throw an error

Cannot find module '..../app/views/posts' Use --force to continue.

This is happening in the browserify grunt task where the src pattern is set to '*/'. This commit specifies the src file patterns that we're interested in, namely: .hbs and .js.

edshadi avatar Mar 17 '14 00:03 edshadi