Skip to content

Commit a5120ce

Browse files
committed
chore: remove unused __dirname from rive-gen-types.ts
1 parent c84f2f7 commit a5120ce

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scripts/rive-gen-types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ import {
2121
statSync,
2222
} from 'fs';
2323
import { dirname, resolve, basename, extname } from 'path';
24-
import { fileURLToPath } from 'url';
2524
import { RuntimeLoader } from '@rive-app/canvas';
2625

27-
const __dirname = dirname(fileURLToPath(import.meta.url));
28-
2926
// Browser shims required by the @rive-app/canvas WASM runtime.
3027
(globalThis as any).document = {
3128
createElement: () => ({ getContext: () => null }),

0 commit comments

Comments
 (0)