title: Webpack loader aliases?
body: <p>I have a fairly complicated loader setup for style sheets:</p>
  
  <pre><code>  {
      test: /\.scss$/,
      loader: ExtractTextPlugin.extract("style",
        "css?sourceMap&amp;localIdentName=[path][name]__[local]__[hash:base64:5]!sass?outputStyle=expanded&amp;" +
        "includePaths[]=" + other stuff)
      )
    }
  </code></pre>
  
  <p>Which works great, but on some requires I want to add the <code>modules</code> option to css-loader, so it'd look like this:</p>
  
  <pre><code>require('./foo.scss!css?modules&amp;sourceMap&amp;localIdentName=[path][name]__[local]__[hash...');
  </code></pre>
  
  <p>But I can't do this all over the place.</p>
  
  <p>How can I configure this so that I can enable the css-loader modules flag on certain requires while keeping the rest of it the same?</p>
  
  <p>Maybe something like a loader 'alias', e.g. <code>require('./foo.scss!my-scss-with-modules-flag-alias')</code>?</p>
  
  <p>The only solution I can think of is writing a loader that does a syntax transform to inline the loader config into certain require calls... but that's brittle and complicated.</p>