Skip to content

Commit

Permalink
don't require module
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 11, 2024
1 parent 91e11e1 commit ca3accb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/webgpu-debug-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ import './compute-pass-encoder.js';
import './render-pass-encoder.js';
import './render-bundle-encoder.js';
import './texture.js';

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const _ = import.meta; // webgpu-debug-helper must be imported as a module with import or `<script type="module" ...>`
console.log('webgpu-debug-helper loaded:', _ !== undefined);

0 comments on commit ca3accb

Please sign in to comment.