wgsl-play 0.0.26 → 0.0.27

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
@@ -192,4 +192,7 @@ import { WgslPlay } from "wgsl-play/element";
192
192
  import { defaults } from "wgsl-play";
193
193
 
194
194
  defaults({ shaderRoot: "/custom/shaders" });
195
+
196
+ // Pre-bundled, all deps included
197
+ import "wgsl-play/bundle";
195
198
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgsl-play",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "type": "module",
5
5
  "repository": "github:wgsl-tooling-wg/wesl-js",
6
6
  "exports": {
@@ -12,8 +12,8 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "wesl-gpu": "0.1.21",
16
15
  "wesl": "0.7.19",
16
+ "wesl-gpu": "0.1.21",
17
17
  "wesl-fetch": "0.0.6"
18
18
  },
19
19
  "devDependencies": {
@@ -9,12 +9,5 @@ export default defineConfig({
9
9
  fileName: "wgsl-play",
10
10
  },
11
11
  outDir: "dist",
12
- // Bundle all dependencies for browser
13
- rollupOptions: {
14
- output: {
15
- // Single file output
16
- inlineDynamicImports: true,
17
- },
18
- },
19
12
  },
20
13
  });