react/node_modules/@webpack-cli/utils/lib/scaffold.js
/**
 *
 * Maps back transforms that needs to be run using the configuration
 * provided.
 *
 * @param	{Object} config 			- Configuration to transform
 * @returns {Array} - An array with keys on which transformations need to be run
 */
Maps back transforms that needs to be run using the configuration
provided.

@param       {Object} config                         - Configuration to transform
@returns {Array} - An array with keys on which transformations need to be run
Maps back transforms that needs to be run using the configuration provided . @param { Object } config - Configuration to transform @returns { Array } - An array with keys on which transformations need to be run
function mapOptionsToTransform(config) {
    if (!config.webpackOptions)
        return [];
    return Object.keys(config.webpackOptions).filter((k) => prop_types_1.PROP_TYPES.has(k));
}
function mapOptionsToTransform ( config ) { if ( ! config . webpackOptions ) return [ ] ; return Object . keys ( config . webpackOptions ) . filter ( ( k ) => prop_types_1 . PROP_TYPES . has ( k ) ) ; }
Maps back transforms that needs to be run using the configuration
 provided.
Maps back transforms that needs to be run using the configuration provided .