Importing DataTables library in custom panel

hey there, currently i am trying to import datatables into own panel.

To make this i am following this steps :

  1. download datatables with bundling most of extensions from Download
  2. copy all datatables files into libs/datatables.net/* (to src, so it get copied to dist when building)
  3. in source code of starter.ctrl i am importing it
    import DataTable from ./libs/datatables.net/datatables.js’;
    import DataTable from ./libs/datatables.net/datatables.css’;
  4. in render event build table, using elem.find(“#table_id”).DataTable();

But i am getting 404 when trying to use it :

If i am trying to use basic datatables configuration it works. but if a am adding any datatables extension ( like scrolling or import buttons) i get stuck on this error :confused: