* allow `--server` only builds! * rollback example * capture `/:route` routes * fix: properly implement file uploads in forms * implement desktop form uploads * Performant serialization of form bytes * finish up file stuff * cleanups * add request headers to streaming context * remove some unwraps
16 lines
655 B
Rust
16 lines
655 B
Rust
fn main() {
|
|
// If any TS files change, re-run the build script
|
|
lazy_js_bundle::LazyTypeScriptBindings::new()
|
|
.with_watching("./src/ts")
|
|
.with_binding("./src/ts/set_attribute.ts", "./src/js/set_attribute.js")
|
|
.with_binding("./src/ts/native.ts", "./src/js/native.js")
|
|
.with_binding("./src/ts/core.ts", "./src/js/core.js")
|
|
.with_binding("./src/ts/hydrate.ts", "./src/js/hydrate.js")
|
|
.with_binding("./src/ts/patch_console.ts", "./src/js/patch_console.js")
|
|
.with_binding(
|
|
"./src/ts/initialize_streaming.ts",
|
|
"./src/js/initialize_streaming.js",
|
|
)
|
|
.run();
|
|
}
|