Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rule => loaderNameMatches(rule, 'file-loader')
);
const fileLoader = getLoader(config.module.rules, rule => loaderNameMatches(rule, 'file-loader'));
const matcher = (rule) => loaderNameMatches(rule, ESLINT_PATH);
return getLoader(rules, matcher).options;
const fileLoaderMatcher = r => loaderNameMatches(r, 'file-loader')
addBeforeRule(config.module.rules, fileLoaderMatcher, scssRules)
r => loaderNameMatches(r, 'css-loader') && r.options && r.options.modules,
).forEach(l => {
).loader.find(loader => loaderNameMatches(loader, "css-loader"));
cssLoader.options.localIdentName = "ma-[hash:base64:8]";