perf(slides): tree-shake dependency

This commit is contained in:
Manu Mtz.-Almeida
2018-09-14 00:27:50 +02:00
parent ea01900f99
commit 9d3a2598be
14 changed files with 262 additions and 10328 deletions

View File

@ -0,0 +1 @@
export { Swiper as SwiperInterface, SwiperOptions } from 'swiper/dist/js/swiper.esm';

View File

@ -0,0 +1,4 @@
import { Pagination, Scrollbar, Swiper } from 'swiper/dist/js/swiper.esm';
Swiper.use([Pagination, Scrollbar]);
export { Swiper };