Skip to content

Commit 47d9e31

Browse files
authored
fix: better tsx file capture (#72)
1 parent 802a9fc commit 47d9e31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Open your VS Code, bring up your `settings.json`, copy-n-paste the snippet below
4545
"*.pubxml": "$(capture).pubxml.user",
4646
"*.resx": "$(capture).*.resx, $(capture).designer.cs, $(capture).designer.vb",
4747
"*.ts": "$(capture).js, $(capture).*.ts",
48-
"*.tsx": "$(capture).ts",
48+
"*.tsx": "$(capture).ts, $(capture).*.tsx",
4949
"*.vbproj": "*.config, *proj.user, appsettings.*, bundleconfig.json",
5050
"*.vue": "$(capture).*.ts, $(capture).*.js",
5151
".clang-tidy": ".clang-format",

update.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const base = {
242242
'*.js': '$(capture).js.map, $(capture).min.js, $(capture).d.ts',
243243
'*.jsx': '$(capture).js',
244244
'*.ts': '$(capture).js, $(capture).*.ts',
245-
'*.tsx': '$(capture).ts',
245+
'*.tsx': '$(capture).ts, $(capture).*.tsx',
246246
'*.vue': '$(capture).*.ts, $(capture).*.js',
247247
'index.d.ts': '*.d.ts',
248248
'shims.d.ts': '*.d.ts',

0 commit comments

Comments
 (0)