Chi-teck / drupal-cleanup

Composer plugin to remove files from Drupal packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drupal-cleanup

Composer plugin to remove files on Drupal packages

You can configure the plugin using the root package's composer.json extra field, like this:

"extra": {
  "drupal-cleanup": {
    "drupal-core": [
      "modules/*/tests",
      "modules/*/src/Tests",
      "profiles/demo_umami",
      "profiles/*/tests",
      "profiles/*testing*"
    ],
    "drupal-module": [
      "tests",
      "src/Tests"
    ],
    "exclude": [
      "web/modules/contrib/devel/.spoons"
    ]
  }
}

About

Composer plugin to remove files from Drupal packages

License:MIT License


Languages

Language:PHP 100.0%