mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-15 15:56:25 +01:00
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
// https://vitejs.dev/config/build-options.html#build-modulepreload
|
|
import 'vite/modulepreload-polyfill';
|
|
|
|
import '@/style.scss';
|
|
import { mainBoot } from './boot/main-boot';
|
|
import { subBoot } from './boot/sub-boot';
|
|
|
|
if (['/share', '/auth', '/miauth'].includes(location.pathname)) {
|
|
subBoot();
|
|
} else {
|
|
mainBoot();
|
|
}
|