Skip to content

dev/tools/grunt/configs/themes.js gets replaced after update magento #18949

@iget-master

Description

@iget-master

Summary (*)

Magento docs suggests adding theme to dev/tools/grunt/configs/themes.js file in order to allow using grunt to process less, watch and more.

The problem is that this file gets replaced always that I upgarde the magento installation.

.gitignore file contains following line:

/dev/tools/grunt/configs/local-themes.js

Pointing that somehow this file should be used instead of modifying the main themes.js, but this file is not loaded anywhere, so we are required to update the gruntfile or the themes.js that will be always replaced.

Examples (*)

Proposed solution

Why not provide a solution out of the box by loading that local-themes.js file if present?

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions