Thank you, @MrZak-dev. This post is really helpful! Follow your setting I found another solution: beside the dist
folder there are *.ts files:
Just import them into assets/libs/nakama and use them directly:
import {Client} from "../libs/nakama/client";
import {Session} from "../libs/nakama/session";