prependLoaders(webpackConfig, loaders) {
        if (!webpackConfig.extractCss) {

            const options = {};

            // If the CSS extraction is disabled, use the
            // style-loader instead.
            return [{
                loader: require.resolve('style-loader'),
                options: applyOptionsCallback(webpackConfig.styleLoaderConfigurationCallback, options)

            }, ...loaders];
        }

        return [{
            loader: MiniCssExtractPlugin.loader,
            options: applyOptionsCallback(
                webpackConfig.miniCssExtractLoaderConfigurationCallback,
                {}
            ),
        }, ...loaders];
    }
Prepends loaders with MiniCssExtractPlugin.loader

@param {WebpackConfig} webpackConfig
@param {Array} loaders An array of some style loaders
@returns {Array}