#template #compiler #wasm #glass-easel #browser #framework #target

bin+lib glass-easel-template-compiler

The template compiler of the glass-easel project

21 releases (11 breaking)

new 0.12.1 Feb 19, 2025
0.11.0 Dec 12, 2024
0.10.3 Oct 17, 2024
0.8.2 Jul 24, 2024
0.1.1 Feb 3, 2023

#1382 in Web programming

Download history 1/week @ 2024-10-29 5/week @ 2024-11-05 185/week @ 2024-12-10 6/week @ 2024-12-17 46/week @ 2025-02-04 10/week @ 2025-02-11

56 downloads per month
Used in glass-easel-i18n

MIT license

500KB
13K SLoC

glass-easel-template-compiler

The template compiler for the glass-easel project.

Refer to the glass-easel project for further details.

Build

rust toolchain and wasm-pack should be globally installed.

Build WebAssembly binary:

wasm-pack build glass-easel-template-compiler --target nodejs --out-dir pkg-nodejs

Build binary:

cargo build --release

Build for simple browser usage:

wasm-pack build glass-easel-template-compiler --target no-modules --out-dir pkg-web

See the main project for the detailed usage.

Dependencies

~15–29MB
~450K SLoC