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
[4.2] NPM build tools cleanup #38225
Conversation
|
the change to image.vue is not correct. The span element is not self closing. Both parts are mandatory. |
On your repo (4.2) try btw here's the eslint rule and the explanation: https://eslint.vuejs.org/rules/html-self-closing.html |


Pull Request for Issue # .
Summary of Changes
npm lint:js -- --fixand committed the changesnomoduleit's using the defer attribute, thus adding the listener forDOMContentLoadedis pure overhead. At that point the DOM is already there fully parsed. This needs to be applied ON EVERY SCRIPTTesting Instructions
On a fresh installation of Joomla (ie
git clone) do the composer install and then the npm install. Copy the media folder somewhere in your hardisk. (check the time needed)Now clone this PR and do both the composer and npm installations. Once done do a folder compare of the current media folder against the folder that you saved in the previous step. You should have the same files apart from the
build/media_source/com_content/js/articles-status.es6.jswhich will have different content (expected).Compare the times and do a brief check that both front end and back still work as expected
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Documentation Changes Required
NO
@HLeithner have somebody merge this so I could do the changes in the v5.0. Thanks