lib/loader.js
function getRawRequest(context, excludedPreLoaders) {
    excludedPreLoaders = excludedPreLoaders || /eslint-loader/;
    return loaderUtils.getRemainingRequest({
        resource: context.resource,
        loaderIndex: context.loaderIndex,
        loaders: context.loaders.filter(loader => !excludedPreLoaders.test(loader.path))
    });
}
function getRawRequest(context, excludedPreLoaders) {
    excludedPreLoaders = excludedPreLoaders || /eslint-loader/;
    return loaderUtils.getRemainingRequest({
        resource: context.resource,
        loaderIndex: context.loaderIndex,
        loaders: context.loaders.filter(loader => !excludedPreLoaders.test(loader.path))
    });
}
function getRawRequest ( context , excludedPreLoaders ) { excludedPreLoaders = excludedPreLoaders || / eslint-loader / ; return loaderUtils . getRemainingRequest ( { resource : context . resource , loaderIndex : context . loaderIndex , loaders : context . loaders . filter ( loader => ! excludedPreLoaders . test ( loader . path ) ) } ) ; }
When extracting parts from the source vue file, we want to apply the loaders chained before vue-loader, but exclude some loaders that simply produces side effects such as linting.
When extracting parts from the source vue file we want to apply the loaders chained before vue - loader but exclude some loaders that simply produces side effects such as linting .