🚨 PSA: Breaking Change in Oxc v0.98.0 We've updated exposed function names to have a uniform naming pattern and to always expose both, synchronous and asynchronous functions. Async: `<name>()` -> `minify()` Sync: `<name>Sync()` -> `minifySync()` More below and in github.com/oxc-project/...
Post
github.comnapi: align API signature · Issue #15576 · oxc-project/oxcThe naming of the exposed functions are inconsistent. The current namings are: oxc-minify minify (sync) oxc-parser parseSync (sync) parseAsync (async) oxc-transform transform (sync) transformAsync ...
➡️ Transformer • `transform` • Sync fn renamed form `transform` -> `transformSync` • Async fn renamed from `transformAsync` -> `transform` • `isolatedDeclaration` • Sync fn renamed from `isolatedDeclaration` -> `isolatedDeclarationSync` • `isolatedDeclaration` is now async
0 reposts7 likes
No replies yet.