title: Webpack Less-Loader with Style-Loader not injecting <style> tag
body: <p>I'm trying to have our .less files picked up by <code>less-loader</code>, then by <code>css-loader</code>, and finally injected into the HTML file by <code>style-loader</code>, as per the <a href="https://github.com/webpack-contrib/less-loader" rel="nofollow noreferrer">Less Loader docs.</a> </p>
  
  <p>I am not getting any errors or warnings, but the styles are not injected or present in any way. </p>
  
  <p>My webpack config is as follows, under module.rules[]...:</p>
  
  <pre><code>{
       test: /\.css$/,
           use: ['style-loader', 'css-loader']
       },
       {
          test: /\.less$/,
          use: [{
                  loader: "style-loader" // creates style nodes from JS strings
          }, {
                  loader: "css-loader" // translates CSS into CommonJS
          }, {
                  loader: "less-loader",
                  // options: {
                  //     paths: [
                  //         path.resolve(__dirname, '../less')
                  //     ]
                  // } // compiles Less to CSS
         }]
      },
  }
  </code></pre>
  
  <p>My <code>resolve</code> is as follows</p>
  
  <pre><code>resolve: {
      extensions: ['.js', '.vue', '.json', '.less'],
      alias: {
          '@': resolve('public/js'),
      },
      modules: ['less', 'node_modules']
  },
  </code></pre>
  
  <p>I have also tried, under <code>modules</code>, <code>path.resolve(__dirname, '../less')</code></p>
  
  <p>My directory structure is</p>
  
  <p><code>project/build/webpack.config.js</code></p>
  
  <p><code>project/less/*.less</code> (less files)</p>
  
  <p>I have also tried with the commented "options" above uncommented, to point directly at the less directory, as per the less-loader docs. </p>
  
  <p>What am I missing to have these less styles compiled to CSS and injected as a style tag? </p>
  
  <p>I included the .css test because I'm curious if maybe there's some sort of conflict happening there. It's being used to inject the bootstrap css file from node_modules, which is working properly. </p>
  
  <p>(I tried to keep the code brief and only including relevant portions - happy to provide more)</p>