TS.js installation instructions.
Bundle with webpack (automatically rebuilds thanks to the watch: true
config in webpack.config.js
):
./node_modules/webpack/bin/webpack.js ./lib/index.js --output-filename=main.js --mode=development
See this tutorial to set up webpack.
Run a local server in another terminal:
python3 -m http.server