[6.1] The build script for building scripts#46879
[6.1] The build script for building scripts#46879Fedik wants to merge 127 commits intojoomla:6.1-devfrom
Conversation
|
I updated the PR. |
|
hm, I think there still may be an old issue with removed copyright in CSS. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
For removed copyright we have to edit comments from Can probably do it automatically, will look on it later. |
Conflicts: media_source/system/css/fields/calendar-rtl.css templates/system/build_incomplete.html
|
I thought today would be a good day to test, since the beta release is coming out and there probably shouldn't be so many merges, so that the test result is quite easy to evaluate. |
Yes, most of files from media/vendor/ comes from npm_modules, without modification.
need to check
What do you mean? |
With the new build script now we have a altcha.css but it is minified, before we had only a altcha.css but it was not minified. So now, with the new script, it is no longer just copied, as it was before. Perhaps then the file should be not .css but min.css? But in the end, it's not important to me at all. I just wanted to report it because I noticed it. :D
The screenshot is a direct comparison of the media assets with the previous build script and then with the new one. These are the media assets that we will deliver in the media folder in the installable package.
Until now, we have not included the source files under |
It maybe changed something on their side. The file is from
Now I see, it is some random Vue thing from its compiler, the file itself is not used. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
@LadySolveig I fixed the stuff you found. The license comments and bootstrap version. |
|
The
Thanks @Fedik ! 💚 |
The order should be the same for every build now. Or it still different? |
Hm it should be there all the time, after last fix.
That something useless now :)
Before the PR css for the template files was not processed,
The compiler and its options is the same. |
That's cool :) You are right only differs from the previous we have in the branch 👍🏼 But if a ran it now multiple times it stays the same. |
Seems to be only the css and min.css files in the |
Can be, the vendor files copied as they are. With few exceptions. |




Summary of Changes
This time has come. After all this years we should stop using fancy compilers and code native JS/CSS as in good old days.
Just joking.
I updated the build script to be able to run it per extension, without rebuilding whole thing each time.
And fixed few bugs on the way.
Main changes:
media_source//build/media_source/to/media_source. With this all relative includes will be the same now for bothmedia/andmedia_source/.media_source/in to/media_source/README.md.Problem with existing build
media_source.New builder
clearremove existing files in foldercopycopy files to/mediacsscompile css/scss filesjscompile js files and modulesRead more in
/media_source/README.mdfor more detail.Few examples
Testing Instructions
Run build.
All should work as before.
Link to documentations
Please select: