-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
move jquery and jquery-migrate to npm/webpack #9813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9813 +/- ##
=========================================
Coverage ? 42.31%
=========================================
Files ? 605
Lines ? 79313
Branches ? 0
=========================================
Hits ? 33561
Misses ? 41610
Partials ? 4142 Continue to review full report at Codecov.
|
Regarding future interaction between jQuery and fomantic: Problem is jQuery does not set globals when loaded via webpack but they must be present for fomantic to load correctly. I imagine some experimenting with one of these might get it to work, but it will be a bit tricky: |
|
I think better currently leave as it is now, and when moving fomantic than we can think about copy-webpack-plugin |
Agree, that can be done later, so this should be good to merge for now. |
3cc274a
to
d5ce619
Compare
Rebased and included a tweak to webpack which eliminates asset size warnings currently present on master. This is good to go from my side. Any reviews? |
Please resolve the conflicts. |
77ab8c5
to
2aa5c43
Compare
Rebased and squashed. |
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.
2aa5c43
to
963dfa8
Compare
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.