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