Exclude node registry functions from desktop frontend builds (#3584)

* Exclude node registry functions from desktop frontend builds

This reduces compile times and file sizes

* Use early return

* Fix branch name in build-linux pipeline
This commit is contained in:
Dennis Kobert
2026-01-06 12:34:15 +00:00
committed by GitHub
parent 02e3293e72
commit e88db022af
5 changed files with 24 additions and 12 deletions
+2 -1
View File
@@ -14,7 +14,7 @@ license = "Apache-2.0"
default = ["gpu", "shader-nodes"]
gpu = ["editor/gpu"]
shader-nodes = ["graphene-std/shader-nodes", "gpu"]
native = []
native = ["node-macro/disable-registration"]
[lib]
crate-type = ["cdylib", "rlib"]
@@ -39,6 +39,7 @@ wgpu = { workspace = true }
web-sys = { workspace = true }
ron = { workspace = true }
serde_json = { workspace = true }
node-macro = { workspace = true }
[package.metadata.wasm-pack.profile.dev]
wasm-opt = false