|
|
|
@ -1,5 +1,10 @@
|
|
|
|
// bootstrap module must be the first one to be imported, it handles webpack lazy-loading and global errors
|
|
|
|
// bootstrap module must be the first one to be imported, it handles webpack lazy-loading and global errors
|
|
|
|
import './bootstrap.ts';
|
|
|
|
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 './webcomponents/index.ts';
|
|
|
|
import {onDomReady} from './utils/dom.ts';
|
|
|
|
import {onDomReady} from './utils/dom.ts';
|
|
|
|
|
|
|
|
|
|
|
|
|