⚠️ Use alias Rollup plugin to omit full imports
All checks were successful
continuous-integration/drone/push Build is passing

- Define entries (utils, animations, etc) in the Rollup config in order to omit the whole back path (../../) when importing a file
- Global revoleExtensions in the config (to avoid duplicates)
This commit is contained in:
2020-03-30 23:53:01 +02:00
parent 58adc052c4
commit 2dc51a167a
33 changed files with 150 additions and 115 deletions

View File

@@ -1,19 +1,19 @@
<script>
import { onMount, createEventDispatcher } from 'svelte'
import { stores } from '@sapper/app'
import { currentLocation, fullscreen } from '../utils/store'
import { getThumbnail, formatDate } from '../utils/functions'
import { currentLocation, fullscreen } from 'utils/store'
import { getThumbnail, formatDate } from 'utils/functions'
// Dependencies
import SwipeListener from 'swipe-listener'
// Animations
import { animateIn } from '../animations/Carousel'
import { animateIn } from 'animations/Carousel'
// Components
import IconArrow from '../atoms/IconArrow'
import Counter from '../atoms/Counter'
import PaginationDots from '../molecules/PaginationDots'
import IconArrow from 'atoms/IconArrow'
import Counter from 'atoms/Counter'
import PaginationDots from 'molecules/PaginationDots'
// Props
export let photos