Skip to content
Snippets Groups Projects
Commit 327799c1 authored by Gurzhyi, Andrii's avatar Gurzhyi, Andrii
Browse files

MAGETWO-44443: Grunt less task fails

- CR
parent 7e66b072
No related merge requests found
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
</arguments> </arguments>
</type> </type>
<virtualType name="AssetMaterializationStrategySourceThemeDeployFactory" type="Magento\Framework\App\View\Asset\MaterializationStrategy\Factory"> <!-- Configuration for \Magento\Developer\Console\Command\SourceThemeDeployCommand -->
<virtualType name="AssetMaterializationStrategyFactoryForSourceThemeDeploy" type="Magento\Framework\App\View\Asset\MaterializationStrategy\Factory">
<arguments> <arguments>
<argument name="strategiesList" xsi:type="array"> <argument name="strategiesList" xsi:type="array">
<item name="symlink" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item> <item name="symlink" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>
...@@ -32,23 +33,23 @@ ...@@ -32,23 +33,23 @@
</argument> </argument>
</arguments> </arguments>
</virtualType> </virtualType>
<virtualType name="AssetPublisherSourceThemeDeploy" type="Magento\Framework\App\View\Asset\Publisher"> <virtualType name="AssetPublisherForSourceThemeDeploy" type="Magento\Framework\App\View\Asset\Publisher">
<arguments> <arguments>
<argument name="materializationStrategyFactory" xsi:type="object">AssetMaterializationStrategySourceThemeDeployFactory</argument> <argument name="materializationStrategyFactory" xsi:type="object">AssetMaterializationStrategyFactoryForSourceThemeDeploy</argument>
</arguments> </arguments>
</virtualType> </virtualType>
<type name="Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator"> <type name="Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator">
<arguments> <arguments>
<argument name="assetRepo" xsi:type="object">AssetRepositorySourceThemeDeploy</argument> <argument name="assetRepo" xsi:type="object">AssetRepositoryForSourceThemeDeploy</argument>
<argument name="assetPublisher" xsi:type="object">AssetPublisherSourceThemeDeploy</argument> <argument name="assetPublisher" xsi:type="object">AssetPublisherForSourceThemeDeploy</argument>
</arguments> </arguments>
</type> </type>
<virtualType name="PreProcessorInstructionImportSourceThemeDeploy" type="Magento\Framework\Css\PreProcessor\Instruction\Import"> <virtualType name="PreProcessorInstructionImportForSourceThemeDeploy" type="Magento\Framework\Css\PreProcessor\Instruction\Import">
<arguments> <arguments>
<argument name="relatedFileGenerator" xsi:type="object">Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator</argument> <argument name="relatedFileGenerator" xsi:type="object">Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator</argument>
</arguments> </arguments>
</virtualType> </virtualType>
<virtualType name="AssetPreProcessorPoolSourceThemeDeploy" type="Magento\Framework\View\Asset\PreProcessor\Pool"> <virtualType name="AssetPreProcessorPoolForSourceThemeDeploy" type="Magento\Framework\View\Asset\PreProcessor\Pool">
<arguments> <arguments>
<argument name="preprocessors" xsi:type="array"> <argument name="preprocessors" xsi:type="array">
<item name="less" xsi:type="array"> <item name="less" xsi:type="array">
...@@ -57,28 +58,29 @@ ...@@ -57,28 +58,29 @@
</item> </item>
<item name="import" xsi:type="array"> <item name="import" xsi:type="array">
<item name="after" xsi:type="string">magento_import</item> <item name="after" xsi:type="string">magento_import</item>
<item name="class" xsi:type="string">PreProcessorInstructionImportSourceThemeDeploy</item> <item name="class" xsi:type="string">PreProcessorInstructionImportForSourceThemeDeploy</item>
</item> </item>
</item> </item>
</argument> </argument>
</arguments> </arguments>
</virtualType> </virtualType>
<virtualType name="AssetSourceSourceThemeDeploy" type="Magento\Framework\View\Asset\Source"> <virtualType name="AssetSourceForSourceThemeDeploy" type="Magento\Framework\View\Asset\Source">
<arguments> <arguments>
<argument name="preProcessorPool" xsi:type="object">AssetPreProcessorPoolSourceThemeDeploy</argument> <argument name="preProcessorPool" xsi:type="object">AssetPreProcessorPoolForSourceThemeDeploy</argument>
</arguments> </arguments>
</virtualType> </virtualType>
<virtualType name="AssetRepositorySourceThemeDeploy" type="Magento\Framework\View\Asset\Repository"> <virtualType name="AssetRepositoryForSourceThemeDeploy" type="Magento\Framework\View\Asset\Repository">
<arguments> <arguments>
<argument name="assetSource" xsi:type="object">AssetSourceSourceThemeDeploy</argument> <argument name="assetSource" xsi:type="object">AssetSourceForSourceThemeDeploy</argument>
</arguments> </arguments>
</virtualType> </virtualType>
<type name="Magento\Developer\Console\Command\SourceThemeDeployCommand"> <type name="Magento\Developer\Console\Command\SourceThemeDeployCommand">
<arguments> <arguments>
<argument name="assetPublisher" xsi:type="object">AssetPublisherSourceThemeDeploy</argument> <argument name="assetPublisher" xsi:type="object">AssetPublisherForSourceThemeDeploy</argument>
<argument name="assetRepository" xsi:type="object">AssetRepositorySourceThemeDeploy</argument> <argument name="assetRepository" xsi:type="object">AssetRepositoryForSourceThemeDeploy</argument>
</arguments> </arguments>
</type> </type>
<!-- End configuration for \Magento\Developer\Console\Command\SourceThemeDeployCommand -->
<type name="Magento\Framework\Console\CommandList"> <type name="Magento\Framework\Console\CommandList">
<arguments> <arguments>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment