title: Webpack - Cannot find module raw-loader
body: <p>I need to load a JS file as a string so I can run some analysis on it. I am trying to use raw-loader with Webpack (2.2.0).</p>
  
  <p>I get:  <code>Cannot find module 'raw-loader!../</code> </p>
  
  <p>I've tried (yes, the path is correct):</p>
  
  <pre><code>let app = require('raw-loader!../../app.js').default;
  
  let app = require('!!raw-loader!../../app.js').default;
  </code></pre>
  
  <p>I've even tried it without inline. Raw-loader doesn't get engaged, it just tried to load the JS file normally:</p>
  
  <pre><code>module.exports = {
    module: {
      rules: [
        {
          test: /\app.js$/i,
          use: 'raw-loader',
          loader: 'raw-loader',
        }
      ]
    }
  }
  </code></pre>
  
  <p>raw-loader is in my package.json for the project. It is present in my node modules. I've blown-away my node_modules and have reinstalled. I've looked at many solutions and nothing seems to point to a fix.</p>