backbone.syphon
backbone.syphon copied to clipboard
remove lodash from peerDependencies
package.json has lodash as a peerDependency. What's the reason for that? Backbone.Syphon doesn't use it anywhere in the application code.
Hi @paulovieira
Syphon uses either lodash or underscore. I've left both in for now, though I'm happy for you to submit a PR if you have a preference for how it should be set up.
Hi Scott! I'm a bit confused. I see syphon using only lodash (in the build file), and no sign of lodash:
https://github.com/marionettejs/backbone.syphon/blob/master/lib/backbone.syphon.js#L15
Ahh, yeah it's done at the build file level. For example, in webpack, you can swap out underscore for lodash when you configure the imports.