gulpjs / interpret

A dictionary of file extensions and associated module loaders.
MIT License
259 stars 47 forks source link

Add support for SWC transforms #76

Closed danilofuchs closed 2 years ago

danilofuchs commented 2 years ago

Describe your idea for a new feature

Add @swc/register or @swc-node/register (I'm not sure which is more stable) to the interpreter list

Explain the problem your idea is trying to solve

We are migrating away from ts-node to swc for faster compilations

How will it benefit gulp and its users?

If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?

No

phated commented 2 years ago

Why open this when it's being worked on in #74 ?

danilofuchs commented 2 years ago

Sorry, didn't see the PR, my bad.

I'll close the issue once it's merged

phated commented 2 years ago

Closed by #74 but I'm also planning to add .swc.(js|jsx|ts|tsx) extensions to match babel and esbuild.