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:
silverwind 2020-01-21 18:32:33 +01:00 committed by Lauris BH
parent 0e8b27afe8
commit 2982afe6b4
10 changed files with 20 additions and 244 deletions

5
web_src/js/jquery.js vendored Normal file
View file

@ -0,0 +1,5 @@
import $ from 'jquery';
import 'jquery-migrate';
$.migrateMute = true;
window.$ = window.jQuery = $;