how to hide my js files and js library from view-source code

Viewed 414

how to hide my js files and js library from view-source code

i found Javascript Obfuscator but this will be ok with my custom JS source code

what about the other files

i want to let those files not showd if others click view-source

    wp_register_script('dataTables.min.js', 'https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js', array('jquery'), true);

    wp_register_script('customjs.js', get_template_directory_uri() . '/js/customjs.js', array('jquery'), true);
    wp_enqueue_script('customjs.js');
    wp_enqueue_style('dataTables.min.css');
    wp_enqueue_style('buttons.dataTables.min.css');
2 Answers
Related