di.xml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <type name="Magento\Deploy\Model\Deployer">
  10. <arguments>
  11. <argument name="alternativeSources" xsi:type="array">
  12. <item name="css" xsi:type="object">AlternativeSourceProcessors</item>
  13. </argument>
  14. </arguments>
  15. </type>
  16. <type name="Magento\Deploy\Model\Deploy\LocaleDeploy">
  17. <arguments>
  18. <argument name="alternativeSources" xsi:type="array">
  19. <item name="css" xsi:type="object">AlternativeSourceProcessors</item>
  20. </argument>
  21. </arguments>
  22. </type>
  23. <type name="Magento\Framework\App\FrontControllerInterface">
  24. <plugin name="configHash" type="Magento\Deploy\Model\Plugin\ConfigChangeDetector" sortOrder="50"/>
  25. </type>
  26. <type name="Magento\Framework\Console\CommandListInterface">
  27. <arguments>
  28. <argument name="commands" xsi:type="array">
  29. <item name="setModeCommand" xsi:type="object">Magento\Deploy\Console\Command\SetModeCommand</item>
  30. <item name="showModeCommand" xsi:type="object">Magento\Deploy\Console\Command\ShowModeCommand</item>
  31. <item name="dumpApplicationCommand" xsi:type="object">\Magento\Deploy\Console\Command\App\ApplicationDumpCommand</item>
  32. <item name="sensitiveConfigSetCommand" xsi:type="object">\Magento\Deploy\Console\Command\App\SensitiveConfigSetCommand</item>
  33. <item name="configImportCommand" xsi:type="object">Magento\Deploy\Console\Command\App\ConfigImportCommand</item>
  34. <item name="configStatusCommand" xsi:type="object">Magento\Deploy\Console\Command\App\ConfigStatusCommand</item>
  35. </argument>
  36. </arguments>
  37. </type>
  38. <type name="Magento\Deploy\Model\Filesystem">
  39. <arguments>
  40. <argument name="shell" xsi:type="object">Magento\Framework\App\Shell</argument>
  41. </arguments>
  42. </type>
  43. <type name="Magento\Deploy\Console\Command\App\SensitiveConfigSet\CollectorFactory">
  44. <arguments>
  45. <argument name="types" xsi:type="array">
  46. <item name="interactive" xsi:type="string">Magento\Deploy\Console\Command\App\SensitiveConfigSet\InteractiveCollector</item>
  47. <item name="simple" xsi:type="string">Magento\Deploy\Console\Command\App\SensitiveConfigSet\SimpleCollector</item>
  48. </argument>
  49. </arguments>
  50. </type>
  51. <preference for="Magento\Deploy\Package\BundleInterface" type="Magento\Deploy\Package\Bundle\RequireJs"/>
  52. <type name="Magento\Deploy\Source\SourcePool">
  53. <arguments>
  54. <argument name="sources" xsi:type="array">
  55. <item name="lib" xsi:type="object">Magento\Deploy\Source\Lib</item>
  56. <item name="modules" xsi:type="object">Magento\Deploy\Source\Modules</item>
  57. <item name="themes" xsi:type="object">Magento\Deploy\Source\Themes</item>
  58. </argument>
  59. </arguments>
  60. </type>
  61. <type name="Magento\Deploy\Package\Package">
  62. <arguments>
  63. <argument name="preProcessors" xsi:type="array">
  64. <item name="less" xsi:type="object">Magento\Deploy\Package\Processor\PreProcessor\Less</item>
  65. <item name="css" xsi:type="object">Magento\Deploy\Package\Processor\PreProcessor\Css</item>
  66. </argument>
  67. <argument name="postProcessors" xsi:type="array">
  68. <item name="map" xsi:type="object">Magento\Deploy\Package\Processor\PostProcessor\Map</item>
  69. <item name="cssUrls" xsi:type="object">Magento\Deploy\Package\Processor\PostProcessor\CssUrls</item>
  70. </argument>
  71. </arguments>
  72. </type>
  73. </config>