Vite SWC compiler. Straightforward minimal implementation.
No config options. Supports legacy decorators, emitDecoratorMetadata, etc.
This library is entirely intended to close that gap while maintaining the fastest build times possible.
yarn add @fast.me/swc
In your Vite config import, and add to plugins, passing in the path to your entry file.
import { swc } from '@fast.me/vite-swc';
export default defineConfig({
plugins: [swc('./src/fast.ts')],
});
Licensed under MIT. Enjoy