⚠️ 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,10 +1,10 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte'
|
||||
import { site, currentLocation } from '../utils/store'
|
||||
import { getThumbnail, formatDate } from '../utils/functions'
|
||||
import { site, currentLocation } from 'utils/store'
|
||||
import { getThumbnail, formatDate } from 'utils/functions'
|
||||
|
||||
// Animations
|
||||
import { animateIn } from '../animations/Photo'
|
||||
import { animateIn } from 'animations/Photo'
|
||||
|
||||
// Props and variables
|
||||
export let photo
|
||||
|
||||
Reference in New Issue
Block a user