User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This PR moves the static assets sources to the build directory.
There are 2 folders:
There is no media folder anymore in the source and thus any change in this directory will not be flagged in git.
There is one more step now in the build process: creating the SPA for media manager
Before fetching this branch make a copy of the folder media somewhere.
after fetch/pull you should run npm i and compare the 2 directories.
(the template assets weren't moved so nothing to check there!)
All assets regenerated with npm i
, stop tracking compiled/minified files
All the sources for the static assets are held in the /build
folder.
PS. the --compile-js
argument will not minify css and js files in the legacy folder for this you'll need to use the --update
argument
Status | New | ⇒ | Pending |
Category | ⇒ | Repository Administration com_media Templates (admin) JavaScript |
Labels |
Added:
?
|
Final thing - we can't really drop the template CSS + minified CSS until we either .gitignore it or move it to another location like you proposed as it will always get regenerated when people compile the code...
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-31 23:37:10 |
Closed_By | ⇒ | wilsonge |
Just make sure that step is included in
build/build.php
if it's not something coming from the defaultnpm install
that we're already doing.