NebulousLabs / skynet-js

A Javascript module made to simplify communication with Sia Skynet portals from the browser.
https://nebulouslabs.github.io/skynet-js/
MIT License
32 stars 12 forks source link

build pipeline overwrites Babel output with tsc #374

Closed dghelm closed 3 years ago

dghelm commented 3 years ago

Currently build runs babel and then tsc to generate .js files. tsc actually overwrites the babel generated files, meaning we should either:

  1. Add "emitDeclarationOnly": true, to tsconfig.build.json as addressed here.
  2. Remove Babel from the build process, since we're not using a mixed JS/TS codebase (and since we haven't been using it for npm for quite awhile.)
mrcnski commented 3 years ago

Closing in flavor of https://github.com/SkynetHQ/skynet-js/issues/9