Compile source files to browser-ready JavaScript and CSS.
Dispatches to OXC for JS/TS/JSX/TSX and Vize for Vue SFCs and CSS. Returns compiled output with optional sourcemaps.
Summary
Functions
Compile a source file to browser-ready output.
Types
Functions
Compile a source file to browser-ready output.
Options
:target— downlevel target (e.g.:es2020):import_source— JSX import source (e.g."vue"):sourcemap— generate source maps (default:true):minify— minify output (default:false):vapor— use Vue Vapor mode (default:false):rewrite_import— function(specifier -> {:rewrite, new} | :keep)for import rewriting:plugins— list ofVolt.Pluginmodules to run