Combine fs and fs/promise import (#465)
Combine fs and fs/promise import (#465)

* fix(node): import promises from fs

Only using the fs import without a subpackage allows webpack to apply the configuration `fs: 'empty'` to promises as well.

* Update FileSource.js

Co-authored-by: Marius <c293a6801eb67acc61e1f45f23b8cbb38a74a1f7@gmail.com>
tus/tus-js-client,tus/tus-js-client,tus/tus-js-client