var scrollBarHandleHeight = scrollBar.offsetHeight;
var scrollBarHandleTop = +scrollBar.style.top;
var listHeight = list.clientHeight;
var scrollPosition = scrollBarHandleTop / (listHeight - scrollBarHandleHeight);
list.scrollTop = (list.scrollHeight - list.clientHeight) * scrollPosition;
$ npm dedupe
$ npm shrinkwrap
module.exports = {
cache: true,
debug: true,
devtool: 'source-map',
entry: {
app: ['./src'],
style: ['./src/style'],
vendor: ...