Difference between babel and js.Build

What is the difference between using babel and js.Build for transpiling… ?

1 Like

@jmooring

I just want to ask this question. The difference between them is not clear at present, and why does babel not have the targetPath parameter?

This thread is 2 years old.

As to the question, read the documentation or Google it. We would probably not have added the Babel func had we had ESBuild back then.

Why is Babel still in Hugo today?
Does he have any irreplaceable benefits?

I don’t know; I guess you need it if you want to target very old browsers.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.