Using rollup

Basic setup for TS

Use https://tsdx.io/

https://www.npmjs.com/package/rollup-plugin-typescript2

Read this https://www.misha.wtf/blog/rollup-library-starter

rollup -c --environment INCLUDE_DEPS,BUILD:production