wgsl-edit 0.0.10 → 0.0.11
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 +1 -0
- package/dist/wgsl-edit.js +21104 -0
- package/package.json +8 -4
- package/vite.build.config.ts +13 -0
- package/dist/Language.d.mts +0 -30
- package/dist/Language.mjs +0 -127
- package/dist/WgslEdit-DQ9KLSEj.mjs +0 -649
- package/dist/WgslEdit.d.mts +0 -118
- package/dist/WgslEdit.mjs +0 -4
- package/dist/index.d.mts +0 -3
- package/dist/index.mjs +0 -8
- package/tsdown.config.ts +0 -28
package/README.md
CHANGED
|
@@ -165,4 +165,5 @@ wgsl-edit shader.wgsl --port 3000 --no-open
|
|
|
165
165
|
import "wgsl-edit"; // auto-registers element
|
|
166
166
|
import { WgslEdit } from "wgsl-edit/element"; // class only
|
|
167
167
|
import { wesl, weslLanguage } from "wgsl-edit/language"; // CodeMirror language
|
|
168
|
+
import "wgsl-edit/bundle"; // pre-bundled, all deps included
|
|
168
169
|
```
|