Skip to content

Instantly share code, notes, and snippets.

@leymannx
Last active January 28, 2020 10:08
Show Gist options
  • Save leymannx/e0b7aa764eb5e735562725775c2a0cc0 to your computer and use it in GitHub Desktop.
Save leymannx/e0b7aa764eb5e735562725775c2a0cc0 to your computer and use it in GitHub Desktop.
Drupal Composer prevent .htaccess or development.services.yml from being overwritten using drupal/core-composer-scaffold
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
"[web-root]/.htaccess": false,
"[web-root]/sites/development.services.yml": false
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment