Skip to content

Commit

Permalink
use wgsl_reflect from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 12, 2023
1 parent 31e36c1 commit d1e3e48
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 3,205 deletions.
137 changes: 136 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"homepage": "https://github.com/greggman/webgpu-utils#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@tsconfig/recommended": "^1.0.2",
Expand All @@ -61,6 +62,7 @@
"rollup": "^3.27.1",
"tslib": "^2.6.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"wgsl_reflect": "github:brendan-duncan/wgsl_reflect#083d726a36fa495626566b37bfebefb06ad41574"
}
}
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import { nodeResolve } from "@rollup/plugin-node-resolve";
import fs from 'fs';

const pkg = JSON.parse(fs.readFileSync('package.json', {encoding: 'utf8'}));
Expand All @@ -8,6 +9,7 @@ const major = pkg.version.split('.')[0];
const dist = `dist/${major}.x`;

const plugins = [
nodeResolve(),
typescript({ tsconfig: './tsconfig.json' }),
];

Expand Down
21 changes: 0 additions & 21 deletions src/3rdParty/wgsl_reflect/LICENSE.md

This file was deleted.

73 changes: 0 additions & 73 deletions src/3rdParty/wgsl_reflect/wgsl_reflect.module.d.ts

This file was deleted.

Loading

0 comments on commit d1e3e48

Please sign in to comment.