Использование
section target

import smoothscroll from 'smoothscroll-polyfill';

smoothscroll.polyfill();

dataScroll()

// ...

dataScroll(smoothscroll.polyfill)