createLoaderList(rule, useCssModules) {
        return [
            ...CssWebpackConfig.afterLoaders({
                method: 'auto',
                location: 'default',
                context: this.context
            }),
            {
                loader: this.context.resolve('css-loader'),
                options: {
                    /**
                     * @param {string} url
                     **/
                    url: url => {
                        if (url.startsWith('/')) {
                            return false;
                        }

                        return this.context.config.processCssUrls;
                    },
                    modules: useCssModules
                }
            },
            {
                loader: this.context.resolve('postcss-loader'),
                options: {
                    postcssOptions: {
                        plugins: new PostCssPluginsFactory(this.context).load(),
                        hideNothingWarning: true
                    }
                }
            },
            rule.loader,
            ...CssWebpackConfig.beforeLoaders({
                context: this.context,
                type: rule.type,
                injectGlobalStyles: true
            })
        ].filter(Boolean);
    }
Build up the appropriate loaders for the given rule.

@param  {import('webpack').RuleSetRule & {test: RegExp, command: string, type: string}} rule
@param  {object} useCssModules
@returns {any[]}