docs: function processOptions(options) {
    // Parse preset names
    const presets = (options.presets || []).map(presetName => {
      if (typeof presetName === 'string') {
        var preset = availablePresets[presetName];
        if (!preset) {
          throw new Error(`Invalid preset specified in Babel options: "${presetName}"`);
        }
        return preset;
      } else {
        // Could be an actual preset module
        return presetName;
      }
    });
  
    // Parse plugin names
    const plugins = (options.plugins || []).map(pluginName => {
      if (typeof pluginName === 'string') {
        var plugin = availablePlugins[pluginName];
        if (!plugin) {
          throw new Error(`Invalid plugin specified in Babel options: "${pluginName}"`);
        }
        return plugin;
      } else {
        // Could be an actual plugin module
        return pluginName;
      }
    });
  
    return {
      ...options,
      presets,
      plugins,
    }
  }