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:
parent
0e8b27afe8
commit
2982afe6b4
10 changed files with 20 additions and 244 deletions
5
web_src/js/jquery.js
vendored
Normal file
5
web_src/js/jquery.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import $ from 'jquery';
|
||||
import 'jquery-migrate';
|
||||
|
||||
$.migrateMute = true;
|
||||
window.$ = window.jQuery = $;
|
Loading…
Add table
Add a link
Reference in a new issue