You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aliases.yaml in the yoast-seo-granular-control repo contains the following code:
build:
- 'build:css'
- 'build:js'
However, when running grunt build in that repo, the build alias from plugin-grunt-tasks/config/aliases.yaml is still carried out. This means that it is not possible to overwrite those default tasks (such as build) in other repos.
Please describe what you expected to happen and why.
When running grunt build in the yoast-seo-granular-control repo, I expected only build:css and build:js to be executed, and not also build:images and build:i18n (these latter two tasks are defined in the plugin-grunt-tasks repo.
How can we reproduce this behavior?
In the terminal, navigate to the yoast-seo-granular-control repo and run grunt artifact.
See that the imagemin, addtextdomain and makepot tasks are run, even though these are not specified in aliases.yaml.
See that build:images and build:i18n ARE present in plugin-grunt-tasks/config/aliases.yaml.
In yoast-seo-granular-control/config/aliases.yaml if you change the build tasks, you will see these changes reflected in the terminal (for example, switch around the order of build:css and build:js). This doesn't change the fact that build:images and build:i18n are ALSO executed.
Technical info
WordPress version:
Yoast SEO version:
If relevant, which editor is affected (or editors):
Classic Editor
Gutenberg
Classic Editor plugin
Which browser is affected (or browsers):
IE11
Edge
Chrome
Firefox
Safari
Relevant plugins in case of a bug:
Tested with theme:
The text was updated successfully, but these errors were encountered:
Please give us a description of what happened.
aliases.yaml
in theyoast-seo-granular-control
repo contains the following code:However, when running
grunt build
in that repo, thebuild
alias fromplugin-grunt-tasks/config/aliases.yaml
is still carried out. This means that it is not possible to overwrite those default tasks (such asbuild
) in other repos.Please describe what you expected to happen and why.
When running
grunt build
in theyoast-seo-granular-control
repo, I expected onlybuild:css
andbuild:js
to be executed, and not alsobuild:images
andbuild:i18n
(these latter two tasks are defined in theplugin-grunt-tasks
repo.How can we reproduce this behavior?
yoast-seo-granular-control
repo and rungrunt artifact
.imagemin
,addtextdomain
andmakepot
tasks are run, even though these are not specified inaliases.yaml
.build:images
andbuild:i18n
ARE present inplugin-grunt-tasks/config/aliases.yaml
.yoast-seo-granular-control/config/aliases.yaml
if you change thebuild
tasks, you will see these changes reflected in the terminal (for example, switch around the order ofbuild:css
andbuild:js
). This doesn't change the fact thatbuild:images
andbuild:i18n
are ALSO executed.Technical info
The text was updated successfully, but these errors were encountered: