Some checks failed
cache-seeder / prune (push) Has been skipped
cache-seeder / frontend (push) Failing after 3s
cache-seeder / python (push) Failing after 3s
cache-seeder / gobuild (push) Failing after 4s
cache-seeder / lint (bindata, lint-backend) (push) Failing after 3s
giteabot backport / giteabot (push) Has been skipped
giteabot / giteabot (push) Has been skipped
cache-prune / prune (push) Has been skipped
release-nightly-snapcraft / build-and-publish (ubuntu-24.04) (push) Has been cancelled
release-nightly-snapcraft / build-and-publish (ubuntu-24.04-arm) (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
cron-renovate / cron-renovate (push) Has been skipped
12 lines
601 B
TypeScript
12 lines
601 B
TypeScript
// This file is the entry point for the code which should block the page rendering, it is compiled by our "iife" vite plugin
|
|
|
|
// bootstrap module must be the first one to be imported, it handles global config and errors
|
|
import './bootstrap.ts';
|
|
|
|
// many users expect to use jQuery in their custom scripts (https://docs.gitea.com/administration/customizing-gitea#example-plantuml)
|
|
// so load globals (including jQuery) as early as possible
|
|
import './globals.ts';
|
|
|
|
import './webcomponents/index.ts';
|
|
import './modules/user-settings.ts'; // templates also need to use localUserSettings in inline scripts
|