build: switch rollup configuration to TS