pub fn compile_sync_naive(source: &str, is_prod: bool) -> Result<String, String>Expand description
Naive implementation of the SFC compilation, meaning that:
- it handles the standard flow without plugins;
- it compiles to
Stringinstead of SWC module; - it does not report errors. This implementation is mostly meant for the WASM and NAPI beta. Later on, it will be replaced with a stable API.