⚠️ Use alias Rollup plugin to omit full imports
All checks were successful
continuous-integration/drone/push Build is passing
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:
@@ -1,16 +1,16 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte'
|
||||
import { flip } from 'svelte/animate'
|
||||
import { receive, send } from '../animations/crossfade'
|
||||
import { locations, countries, continents } from '../utils/store'
|
||||
import { throttle } from '../utils/functions'
|
||||
import { receive, send } from 'animations/crossfade'
|
||||
import { locations, countries, continents } from 'utils/store'
|
||||
import { throttle } from 'utils/functions'
|
||||
|
||||
// Components
|
||||
import Button from '../atoms/Button'
|
||||
import Location from '../molecules/Location'
|
||||
import Button from 'atoms/Button'
|
||||
import Location from 'molecules/Location'
|
||||
|
||||
// Animations
|
||||
import { animateIn } from '../animations/Locations'
|
||||
import { animateIn } from 'animations/Locations'
|
||||
|
||||
// Variables
|
||||
const transitionDuration = 800
|
||||
|
||||
Reference in New Issue
Block a user