Upgrade to Vite 3

This commit is contained in:
venashial committed 2022-07-16 16:15:06 -07:00
1 parent 9c07612274
commit fe415cbd77
8 files changed
+276 -317

No files matched your search

+1 -7
View File
@@ -18,13 +18,7 @@
let api = { props: [], events: [], slots: [] }
if ($page.url.pathname.includes('components')) {
if (import.meta.env.DEV) {
import(`../../src/components/${title}.svelte?raw&sveld`).then(
(output) => (api = output.default)
)
} else {
api = COMPONENT_API[`${title}.svelte`]
}
api = COMPONENT_API[`${title}.svelte`]
}
</script>