Remove some unneeded dependencies: fs-extra, recursive-readdir, rimraf, @rollup/plugin-replace, @rollup/plugin-node-resolve, @rollup/plugin-commonjs
Move from the old @vue/compiler-sfc to the new @vitejs/plugin-vue
Adjust the media manager to not throw
bump the minimum node to 20.10.0 so we could use import json files directly
Drop dotenv as the newer node versions support this natively
Drop the individual browser version in the browser list and use the baseline widely available Explanation: When a web platform feature is implemented in every browser, it becomes Baseline Newly available. After 30 months, that feature then becomes Baseline Widely available, which is a threshold in which most websites can adopt features without compatibility concerns.
Rolldown provides it's own minifier but I kept esbuild for almost everything apart the media manager (for the initial testing, later on we would switch everything to Rolldown and get rid of esbuild, so one less dependency...)
Testing Instructions
Check out the 5.4-dev and run npm i. Make a copy of the media folder somewhere in your hd
Check out this PR and run npm i. Make a copy of the media folder somewhere in your hd
Compare the 2 folders
Actual result BEFORE applying this Pull Request
Everything works
Expected result AFTER applying this Pull Request
Everything works
Differencies
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
This pull request has been automatically rebased to 6.1-dev.