title: Webpack, datatable & yadcf
body: <p>I'm trying to switch from a requirejs config to a webpack one and am having trouble to make yadcf work.</p>
  
  <p>In my packages.json :</p>
  
  <pre><code>{
    ...
    "dependencies": {
      ...
      "datatables.net": "^1.10.12",
      "datatables.net-bs": "^1.10.12",
      "jquery": "^3.1.1",
      "yadcf-npm": "^0.8.9"
    }
  }
  </code></pre>
  
  <p>My webpack.config.js :</p>
  
  <pre><code>...
  resolve: {
    alias: {
      ...
      datatables: path.join(__dirname, 'node_modules/datatables.net/js/jquery.dataTables'),
      datatablesBootstrap: path.join(__dirname, 'node_modules/datatables.net-bs/js/dataTables.bootstrap'),
      yadcf: path.join(__dirname, 'node_modules/yadcf-npm/jquery.dataTables.yadcf.js'),
    }
  }
  </code></pre>
  
  <p>my script :</p>
  
  <pre><code>define(['jquery', 'datatablesBootstrap', 'yadcf'], function($) {
      $(document).ready(function(){
          ...
          var myDatatable = dataTable = $('#elem').DataTable({
              ...
          });
  
          myDatatable.yadcf([
              ...
          ]);
      });
  });
  </code></pre>
  
  <p>I keep having the same issue where yadcf is not defined</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: yadcf is not defined(…)</p>
  </blockquote>
  
  <p>Do you know what I'm missing here ?</p>