2019-09-07 03:39:49 +02:00
|
|
|
---
|
2021-02-26 05:28:19 +01:00
|
|
|
Name: webapp-templates-requirements
|
2021-06-19 22:22:44 +02:00
|
|
|
After:
|
|
|
|
- a2nt-cms-niceties-templates-requirements
|
2019-09-07 03:39:49 +02:00
|
|
|
---
|
2021-06-19 22:22:44 +02:00
|
|
|
A2nt\CMSNiceties\Templates\DeferredRequirements:
|
2018-07-25 11:03:50 +02:00
|
|
|
nofontawesome: false
|
|
|
|
version: false
|
|
|
|
static_domain: false
|
2019-12-17 21:43:28 +01:00
|
|
|
deferred: true
|
2021-08-02 22:17:27 +02:00
|
|
|
noreact: true
|
2021-02-26 05:28:19 +01:00
|
|
|
nojquery: true
|
2023-10-31 20:37:48 +01:00
|
|
|
jquery_version: '`JQUERY_VER`'
|
2023-10-10 22:14:11 +02:00
|
|
|
fontawesome_svg: false
|
2020-01-28 15:26:51 +01:00
|
|
|
|
|
|
|
SilverStripe\FontAwesome\FontAwesomeField:
|
2023-10-31 20:37:48 +01:00
|
|
|
version: '`FONTAWESOME_VER`'
|
2018-07-25 11:03:50 +02:00
|
|
|
|
2019-08-05 14:23:53 +02:00
|
|
|
SilverStripe\View\Requirements:
|
|
|
|
disable_flush_combined: true
|
|
|
|
SilverStripe\View\Requirements_Backend:
|
|
|
|
combine_in_dev: true
|
|
|
|
combine_hash_querystring: true
|
|
|
|
default_combined_files_folder: 'combined'
|
|
|
|
SilverStripe\Core\Injector\Injector:
|
|
|
|
# Create adapter that points to the custom directory root
|
|
|
|
SilverStripe\Assets\Flysystem\PublicAdapter.custom-adapter:
|
|
|
|
class: SilverStripe\Assets\Flysystem\PublicAssetAdapter
|
|
|
|
constructor:
|
|
|
|
Root: ./app/javascript
|
|
|
|
# Set flysystem filesystem that uses this adapter
|
|
|
|
League\Flysystem\Filesystem.custom-filesystem:
|
|
|
|
class: 'League\Flysystem\Filesystem'
|
|
|
|
constructor:
|
|
|
|
Adapter: '%$SilverStripe\Assets\Flysystem\PublicAdapter.custom-adapter'
|
|
|
|
# Create handler to generate assets using this filesystem
|
|
|
|
SilverStripe\Assets\Storage\GeneratedAssetHandler.custom-generated-assets:
|
|
|
|
class: SilverStripe\Assets\Flysystem\GeneratedAssets
|
|
|
|
properties:
|
2020-12-28 00:29:43 +01:00
|
|
|
Filesystem: '%$League\Flysystem\Filesystem.custom-filesystem'
|
2019-08-05 14:23:53 +02:00
|
|
|
# Assign this generator to the requirements builder
|
|
|
|
SilverStripe\View\Requirements_Backend:
|
|
|
|
properties:
|
|
|
|
AssetHandler: '%$SilverStripe\Assets\Storage\GeneratedAssetHandler.custom-generated-assets'
|