2gis / slot

JavaScript фреймворк, позволяющий быстро и просто создавать модульные изоморфные приложения.
http://2gis.github.io/slot
BSD 2-Clause "Simplified" License
86 stars 10 forks source link

Remove redundant name in lookupRequire #225

Open ktoto opened 8 years ago

ktoto commented 8 years ago

https://github.com/2gis/slot/pull/224/files#diff-2018087f584c4398b5c3a23fc0e5f9dbR754

Now I can't use components like nodejs modules with index.js in directory. If remove second name it's allow require directory and will make some developers happy :)

Sadly, backward capability will be broken :(