add shared array buffer support for dev server as opt config

This commit is contained in:
chaosprint committed 2023-05-06 08:13:28 +02:00
1 parent 9ce5fc508d
commit 257465a6d5
6 files changed
+157 -3

No files matched your search

+5
View File
@@ -72,6 +72,11 @@ pub struct ConfigOptsServe {
#[serde(default)]
pub hot_reload: bool,
/// Build with shared_array_buffer enabled in JS [default: false]
#[clap(long)]
#[serde(default)]
pub shared_array_buffer: bool,
/// Space separated list of features to activate
#[clap(long)]
pub features: Option<Vec<String>>,