jarslab / babel-maven-plugin

Babel transcription plugin for Maven
MIT License
25 stars 8 forks source link

An option to change the translated file's extension #20

Open glebfrank opened 4 years ago

glebfrank commented 4 years ago

When transpiling a .ts, .jsx, or .tsx file, the resulting file's extension normally gets changed to .js (e.g., the input is in typescript, but the output is in plain javascript.) This plugin currently leaves the extension as is. I am proposing an option to set the translated files' extensions to a given string, e.g. "js".