
SWC Viewer

Description
Open source project designed to simplify the creation and migration of SWC plugins. I built a desktop tool that allows developers to compare Babel and SWC outputs side by side from the same input, leveraging a custom Rust-based SWC plugin. The application featured hot module reloading (HMR) to test transformations in real time, visualize both AST and final code, and streamline plugin development workflows. One of the main technical challenges was dynamically installing and resolving specific Babel dependencies based on each project’s `.babelrc`, while ensuring smooth integration with Electron to run Rust plugins in real time.
Stack
Frontend
- Electron
- React
- monaco-editor
- npm cli
- real-time events
- chokidar