This is a simple CLI to transpile JavaScript code using Babel. It is written in Go and uses the goja-babel library.
For lessgo I needed a toolchain command to transpile JavaScript code using Babel without the need of installing the Node.js runtime.
go install github.com/typomedia/gobabel@latest
-s, --source string Source folder
-t, --target string Target folder
-p, --preset string Babel preset [env, react, flow] (default "env")
-h, --help help for gobabel
gobabel -s less.js/packages/less/src/less/ -t dist/less/
gobabel -h
make
make cross
Copyright © 2024 Typomedia Foundation. All rights reserved.