wesl-link 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,24 +1,7 @@
1
1
  ## wesl-link
2
2
 
3
- **wesl-link** is a tool for preprocessing and linking multiple WGSL shader modules into a single WGSL module from the command line.
3
+ **wesl-link** is a command line tool for linking multiple WGSL/WESL shader files
4
+ into a single WGSL file.
4
5
 
5
- See [wesl-js](https://github.com/wgsl-tooling-wg/wesl-js)
6
- for more details of wgsl syntax extensions
7
- like `#import` and `#export`.
8
-
9
- ### Usage
10
-
11
- ```sh
12
- wesl-link <rootWgsl> [libraryWgsl...]
13
- ```
14
-
15
- Merges the rootWgsl file with any imports
16
- found in the libraryWgsl files and outputs a bundled wgsl to stdout.
17
-
18
- ### Options
19
-
20
- `--define name=value` &ensp;
21
- defines variables for conditional compilation. Multiple name=value pairs can be specified.
22
-
23
- `--base-dir <path element>` &ensp;
24
- sets the base directory for resolving relative paths.
6
+ See [No Bundler Static Linking](https://wesl-lang.dev/docs/JavaScript-Builds#no-bundler-static-linking)
7
+ for documentation on how to use `wesl-link`.