Make sure your composer.json has cweagans/composer-patches package.
"extra": {
"patches": {
"drupal/core": {
"<patch1 information>": "<patch1 file path>",
"<patch2 information>": "<patch2 file path>"
}
}
}composer installcomposer update --lock- Drupal.org Groups post: https://groups.drupal.org/node/518975
- Composer plugin: https://github.com/cweagans/composer-patches