tessl install tessl/npm-babel--runtime@7.28.0Babel's modular runtime helpers that provide transpilation support for modern JavaScript features
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
79%
Build a utility that loads Babel plugins and presets by name, demonstrating understanding of Babel's plugin resolution system.
Create a module that accepts plugin or preset names and loads them using Babel's configuration system. The module should:
The utility should work with:
@generates
/**
* Loads and validates Babel plugins and presets
*
* @param {Array<string>} names - Array of plugin/preset names to load
* @param {Object} options - Configuration options
* @param {string} options.type - Either 'plugin' or 'preset'
* @returns {Array<Object>} Array of results with { name, resolved, loaded, error }
*/
function loadBabelPlugins(names, options) {
// IMPLEMENTATION HERE
}
module.exports = { loadBabelPlugins };Provides the core Babel transformation and plugin loading functionality.
@satisfied-by