add module entry point
ensure lib or src directories are loaded based on JS/CS