dannymcgee / vscode-wgsl

Rich language support for WebGPU Shading Language
Apache License 2.0
14 stars 2 forks source link

Remove dev-dependency feature from `wgsl-parser` #37

Closed dannymcgee closed 6 months ago

dannymcgee commented 6 months ago

The "never-create-snapshots" feature introduced in #35 unintentionally broke the ability to package the wgsl-parser crate, due to the feature referencing a dev-dependency. This PR fixes that by switching the condition to an Nx executor flag which creates an environment variable.