From eae1e76857bafb548011a1aeca3638e41de0ca8c Mon Sep 17 00:00:00 2001 From: Josiah Witt Date: Fri, 22 Jul 2022 14:02:54 -0400 Subject: [PATCH] Allow jsx/tsx commands --- src/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.ts b/src/plugin.ts index 3608d253..859e3b45 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -152,7 +152,7 @@ export class Plugin implements IPlugin { } this._debug(`loading IDs from ${this.commandsDir}`) const patterns = [ - '**/*.+(js|ts)', + '**/*.+(js|ts)x?', '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js)', ] const ids = globby.sync(patterns, {cwd: this.commandsDir})