bundle-require icon indicating copy to clipboard operation
bundle-require copied to clipboard

es5 support via swc

Open ComLock opened this issue 2 years ago • 0 comments

tsup uses bundle-require to load its tsup.config.ts file.

By default bundle-requires uses the tsconfig.json file (but does support a custom one 👍)

When setting target to "es5" tsup uses esbuild with target: 'es2020' then is uses swc to transpile that back to "es5" again.

Would it be an idea for 'bundle-require' to do the same? aka support es5 via swc?

ComLock avatar Apr 28 '23 11:04 ComLock