CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel--runtime

Babel's modular runtime helpers that provide transpilation support for modern JavaScript features

94

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the implementation uses @babel/core's plugin and preset resolution and loading system. The focus is on demonstrating knowledge of createConfigItem and related APIs for working with Babel's configuration system.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses createConfigItem",
      "description": "Implementation uses @babel/core's createConfigItem function (or createConfigItemSync/createConfigItemAsync) to load and resolve plugins/presets",
      "max_score": 40
    },
    {
      "name": "Correct type specification",
      "description": "Properly specifies the 'type' option ('plugin' or 'preset') when calling createConfigItem to differentiate between plugins and presets",
      "max_score": 20
    },
    {
      "name": "Handles name formats",
      "description": "Correctly passes plugin/preset names in various formats (shorthand, full, scoped) to createConfigItem and lets Babel handle resolution automatically",
      "max_score": 20
    },
    {
      "name": "Error handling",
      "description": "Properly catches and handles errors when createConfigItem fails to resolve or load a plugin/preset, returning meaningful error information",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-babel--runtime

tile.json