forked from roxiness/routify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
32 lines (27 loc) · 985 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// @ts-ignore
import Router from './Router/Router.svelte'
import { createRouter, Router as RouterClass } from './Router/Router.js'
import { RoutifyRuntime } from './Instance/RoutifyRuntime.js'
import { appInstance } from './Global/Global.js'
import { AddressReflector } from './Router/urlReflectors/Address.js'
import { LocalStorageReflector } from './Router/urlReflectors/LocalStorage.js'
import { InternalReflector } from './Router/urlReflectors/Internal.js'
import Component from './renderer/ComposeFragments.svelte'
// ROUTIFY-DEV-ONLY-START
// we only need to kill warnings in dev as they don't exist in prod
import { killWarnings } from './utils/killWarnings.js'
killWarnings()
// ROUTIFY-DEV-ONLY-END
export const Routify = RoutifyRuntime
export {
createRouter,
Router,
RouterClass,
appInstance,
AddressReflector,
LocalStorageReflector,
InternalReflector,
Component,
}
export * from './helpers/index.js'
export * from '../common/helpers.js'