adapt_framework icon indicating copy to clipboard operation
adapt_framework copied to clipboard

build.excludes and build.includes fail silently

Open swashbuck opened this issue 7 months ago • 0 comments

Subject of the issue

In config.json, you can exclude or include plugins with the build object:

"build": {
  "excludes": [
    "adapt-blunderbuss"
  ]
},

The issue is that there isn't a warning or error message if the plugin isn't found. This can lead to mistakes when developers assume that a misspelled plugin is being excluded or included.

"build": {
  "excludes": [
    "adapt-contrib-asessment"
  ]
},

Or (no "contrib"):

"build": {
  "excludes": [
    "adapt-assessment"
  ]
},

Expected behaviour

It would be useful to have a warning that appears on command line after you build a course. For example:

build.excludes error: adapt-contrib-asessment plugin not found

swashbuck avatar Jun 20 '25 18:06 swashbuck