-
Notifications
You must be signed in to change notification settings - Fork 106
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
Use local resources only - pack/download from CDN lately on install #1025
Comments
(plus)+ already compiled JS and CSS files. |
@DarkSide666, wdym? The compiled (& minified) files are currently not available within this repo. One possible solution - and very common - is to put the compiled (& minified + possibly other downloaded resources) files into the repo directly, ensure that all of them can be built repeatably and add CI tests to make sure the compiled files are 1:1 (ie. synchronized) with the source files. But at least the complete build script (that will also fetch the remote resources like Fomantic UI files) is needed. |
Well, sometimes it would be great to have compiled/minified files in repo. |
Are you suggesting to extend https://github.com/atk4/ui/blob/develop/tools/get-assets.php? |
This is not enougt as the linked resources usually load/link fonts and other resources - see for ex. FUI css https://cdn.jsdelivr.net/npm/fomantic-ui@2.7.4/dist/semantic.min.css (and search for |
There is no CDN solution when GH is down, resources must be committed within the repo (as we do with our CSS/JS) and checked by CI. |
Should also fix Behat CI failures like:
|
Should also allow to customize SUI, see related issue #1257 |
This is a feature request to pack or download all resources with composer at install/update.
This includes not only directly resources for atk4, but also for used libraries, like CDN fonts used in Fomantic UI.
Important for intranets/IOT where internet connection is not available or limited.
The text was updated successfully, but these errors were encountered: