joomla-projects / media-manager-improvement

Repository for the improvement of Media Manager
https://volunteers.joomla.org/teams/new-media-manager-team
GNU General Public License v2.0
23 stars 24 forks source link

Cleanup build #547

Closed laoneo closed 6 years ago

laoneo commented 6 years ago

Deletes the invalid files from the repo and adds the minified files as /media/com_media/js/mediamanager.min.js and /media/com_media/css/mediamanager.min.css.

npm run build in /administrator/components/com_media will now look like

image

Additionally the map files are ignored, because they should not be in a SCM.

dgrammatiko commented 6 years ago

Does it even make sense to have maps for js? That file is huge and it's totally useless as you need to enable the dev mode to get the vue helper, so it's just useless IMHO

laoneo commented 6 years ago

I would leave it, I mean they are not commited to git and do stay only local after a npm run build.