SlexAxton / require-handlebars-plugin

A plugin for handlebars in require.js (both in dev and build)
804 stars 202 forks source link

why all dependencies in paths? #130

Open djhojd opened 11 years ago

djhojd commented 11 years ago

Current code:

paths: {
    "hbs": "../hbs",
    "Handlebars" : "../Handlebars",
    "hbs/underscore" : "../hbs/underscore",
    "hbs/i18nprecompile" : "../hbs/i18nprecompile",
    "hbs/json2" : "../hbs/json2"
}

why not just?

paths: {
    "hbs": "../hbs",
}
salami162 commented 11 years ago

I don't think this have anything today with require-handlebars-plugin. This is purely how you want config your requirejs. You can totally remove the dependencies from the paths if you move them into where your baseUrl is.