Skip to content

No way for an extension to import a standard Less file because the reverse paths (../) in Less @import statements are forbidden for the extensions  #2264

@dmitrii-fediuk

Description

@dmitrii-fediuk

The problem is similar to #2179
#2179 is not actually a problem because of the solution I found and described there.
But when an extension need to import a standard Magento 2 Less file the solution will not help because of the folder structure:
var\view_preprocessed\css\adminhtml\Magento\backend\en_US:
--------css
--------Custom_Extenson
So the Custom_Extenson can not @import a Less file from the css folder (this is the folder with standard Magento 2 less files) as it can not use reverse paths.

Metadata

Metadata

Labels

Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions