node_modules/.bin/toast incremental .
▪▪▪ [0s] 1 pages created
⠁
error: Unexpected token `preact`. Expected a string literal
--> </>:1:19
|
1 | import { h } from preact;
| ^^^^^^
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: failed to parse module
Location: toast/src/swc_ops.rs:52
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Using this example will result in an error:
Adding the quotes fixes it.