Skip to content

Commit d71ff9e

Browse files
committed
🎨 Rename poorly named variable
1 parent 34095c3 commit d71ff9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,12 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
306306
const currentFileExtension = getExtension(id);
307307

308308
const extensionsToWatch = [...(options.extensions || []), '.tsx', '.jsx'];
309-
const allCustomExtensions = extensionsToWatch.map((extension) =>
309+
const allExtensions = extensionsToWatch.map((extension) =>
310310
// An extension can be a string or a tuple [extension, options]
311311
typeof extension === 'string' ? extension : extension[0],
312312
);
313313

314-
if (!allCustomExtensions.includes(currentFileExtension)) {
314+
if (!allExtensions.includes(currentFileExtension)) {
315315
return null;
316316
}
317317

0 commit comments

Comments
 (0)