I'm trying to add typed-html support to a web framework I built and am encountering an issue building a sample app. Everything works fine in debug mode, but release mode builds eat up gigabytes of memory. I'm not sure if this is a problem with typed-html or rustc but it doesn't happen when not using typed-html.
Code is here. Run wasm-pack build or cargo build --release in the crate.typed-html directory to observe the issue. Building with wasm-pack build --dev or cargo build works fine.