Open jackfranklin opened 10 years ago
A hacky way to fix is just changing the bit that throws an error to:
// If multiple libraries specific the same file, this will throw. Again,
// this is weird dependency shit.
if (package.name !== memo[name].root) {
delete memo[name];
return memo;
// throw new Error(tmplt("Conflicted '{asset}'. '{package}' != '{root}'.", {
// asset: filename,
// package: package.name,
// root: memo[name].root
// }));
}
But that seems icky (but then again, this is all a bit icky), and right now this is causing Pulldown to be down :(
I think figure out the problem and the 'right' behaviour in this case. Why is this happening? What would be the expected outcome?
I have next-to-no internet so can't check this stuff out properly :/
So I think the problem here and why the module is erroring (although you wrote this, so feel free to correct me if I'm interpreting wrongly!) is that both the modules use the same filename
Forgive me if I'm being stupid, but as the URLs are different, I don't see too much why this is a problem?
Yup, that looks bang on. I think, instead of throwing, we should pick one – perhaps the longer – and go with it?
Stupid Q, why can't we keep both?
See #4
It's being caused by
nicescroll
andjquery.nicescroll.js
:Kind of not sure of the best way of fixing it?