Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

TypeScript support: preload detection at runtime #1344

Merged
merged 2 commits into from
Jul 29, 2020

Conversation

benmccann
Copy link
Member

Alternative to #1222

Detects preload at runtime instead of compile time

It produces compilation warnings like 'preload' is not exported by 'src/routes/_layout.svelte' which we will have to silence in the template, but otherwise works and avoids any edge cases that we'd hit by trying to detect whether preload is present at compile time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants