Webpack add files before compiling through plugin
<p>I am trying to build a webpack plugin and I want to add some files to be processed before the whole compilation step.
My intention is to add some files from a folder to be passed by the normal build process using the desired plugins and loaders.</p>

<p>I realize that if I create a new asset I can do this:</p>

<pre><code>  SomePlugin.prototype.apply = function(compiler) {
    compiler.plugin("emit", function(compilation, callback) {

      compilation.assets['newAsset.js'] = {
        source: function() {
          return 'content';
        },
        size: function() {
          return 'content'.length;
        }
      };
      callback();
    });
  }
</code></pre>

<p>But I don't know how to add for example a .scss on the list of files to be processed so webpack can handle the scss file based on the loaders.</p>