mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°2435.1 Portal: Split portal composer.json in 2
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'assets' => [
|
||||
'version' => 'SomeVersionScheme',
|
||||
'base_urls' => 'http://cdn.example.com',
|
||||
'version_format' => '%%s?version=%%s',
|
||||
'packages' => [
|
||||
'images_path' => [
|
||||
'base_path' => '/foo',
|
||||
],
|
||||
'images' => [
|
||||
'version' => '1.0.0',
|
||||
'base_urls' => ['http://images1.example.com', 'http://images2.example.com'],
|
||||
],
|
||||
'foo' => [
|
||||
'version' => '1.0.0',
|
||||
'version_format' => '%%s-%%s',
|
||||
],
|
||||
'bar' => [
|
||||
'base_urls' => ['https://bar2.example.com'],
|
||||
],
|
||||
'bar_version_strategy' => [
|
||||
'base_urls' => ['https://bar2.example.com'],
|
||||
'version_strategy' => 'assets.custom_version_strategy',
|
||||
],
|
||||
'json_manifest_strategy' => [
|
||||
'json_manifest_path' => '/path/to/manifest.json',
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
Reference in New Issue
Block a user