Fix wasm builds

This commit is contained in:
Charlie Marsh 2023-01-09 12:58:07 -05:00
parent 2cb59b0f45
commit 8a26c8b4e0
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ pub fn defaultSettings() -> Result<JsValue, JsValue> {
Ok(serde_wasm_bindgen::to_value(&Options {
// Propagate defaults.
allowed_confusables: Some(Vec::default()),
builtins: Some(Vec::default()),
dummy_variable_rgx: Some("^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$".to_string()),
extend_ignore: Some(Vec::default()),
extend_select: Some(Vec::default()),