News for hackers. Stuff that matters.
Re:Build your own web framework by cercatrova on Saturday July 30, 2022 @03:04PM (#32289384)
There is a command to run locally, `babel`. It works in the command line as well as part of a build tool. It seemed me that the parent however didn't want to spend more time learning all that if they needed to convert just one file.
Re:Build your own web framework by jeshin on Sunday July 31, 2022 @04:28PM (#32298518)
yeah, I did get it to transpile with the babel command, but I couldn't get it to accept the babel-env preset, so it just transpiled from modern javascript to modern javascript, which is not very useful