title: "Uncaught Cannot extend unknown button type: copyHtml5" - How to use `datatables.net-buttons-bs4`
body: <p>I have installed Datatables via npm: </p>
  
  <pre><code>npm install --save datatables.net-bs4
  npm install --save datatables.net-buttons-bs4
  </code></pre>
  
  <p>and want to use the <code>buttons.html5</code> js file too. 
  Before I started working with npm packages I used datatables CDNs like this: </p>
  
  <pre><code>&lt;script src="//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.js" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdn.datatables.net/buttons/1.0.0/js/buttons.html5.min.js" crossorigin="anonymous"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Now I import it like this: </p>
  
  <pre><code>// Datatables
  import 'datatables.net-bs4';
  // Datatables - Buttons
  import 'datatables.net-buttons-bs4';
  </code></pre>
  
  <p>My script uses the buttons.js feature with the HTML5 (file exist in the folder <code>node_modules/datatables.net-buttons/js/buttons.html5.js</code>. but it seems like it's not imported properly using <code>import 'datatables.net-buttons-bs4';</code> 
  therefore, resulting the error: </p>
  
  <blockquote>
    <p>Uncaught Cannot extend unknown button type: copyHtml5
    in the console, pointing the a row using the feature: </p>
  </blockquote>
  
  <pre><code>this.tableDownload = new $.fn.dataTable.Buttons(this[this.tableDisplayed], { ... }
  </code></pre>
  
  <p>Which worked fine when using the CDNs. </p>
  
  <p>How do I get <code>buttons.html5.js</code> cooperate with my code?</p>