mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 13:04:08 +02:00
move jquery and jquery-migrate to npm/webpack (#9813)
Currently, this needs to be its own chunk because fomantic depends on jQuery being present. The next step is to move fomantic to webpack too after which we can combine the index,fomantic and jquery files into one. jquery-migrate is still neccessary because our ancient version of Dropzone seems to break without it. I imagine it can be removed after a Dropzone upgrade.
This commit is contained in:
1 parent
0e8b27afe8
commit
2982afe6b4
10 files changed
+20
-244
No files matched your search
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery-migrate';
|
||||
|
||||
$.migrateMute = true;
|
||||
window.$ = window.jQuery = $;
|
||||
Reference in new issue
Block a user