Celenduin added a comment.
I volunteered some time and created a first version that uses rollup to build the main code: https://gerrit.wikimedia.org/r/c/wikidata/query/gui/+/875993 This now works for the main js of index.html. Things that still need doing in this patch: [ ] do the same for the embed entrypoint (should be simple) [ ] fix tests [ ] figure out how to do bundle the npm/vendor dependencies with rollup, too (maybe a separate change?) Things to do in follow-up changes: [ ] actually start to use `import`/`export` or at least `require` and stop writing into the global state [ ] parse `.less` files and bundle css outside of Grunt [ ] copy everything to the right place without Grunt [ ] make sure we have only hashed versions of js/css files in production, without using Grunt for this [ ] drop Grunt One other thing I noticed: - the embedInit entrypoint seems to include all the js for the query helper and examples, etc. But it can't be used there, right? TASK DETAIL https://phabricator.wikimedia.org/T288466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Celenduin Cc: Celenduin, Michael, toan, Aklapper, Lucas_Werkmeister_WMDE, Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, darthmon_wmde, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Dinoguy1000, Manybubbles, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org