We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34095c3 commit d71ff9eCopy full SHA for d71ff9e
src/index.ts
@@ -306,12 +306,12 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
306
const currentFileExtension = getExtension(id);
307
308
const extensionsToWatch = [...(options.extensions || []), '.tsx', '.jsx'];
309
- const allCustomExtensions = extensionsToWatch.map((extension) =>
+ const allExtensions = extensionsToWatch.map((extension) =>
310
// An extension can be a string or a tuple [extension, options]
311
typeof extension === 'string' ? extension : extension[0],
312
);
313
314
- if (!allCustomExtensions.includes(currentFileExtension)) {
+ if (!allExtensions.includes(currentFileExtension)) {
315
return null;
316
}
317
0 commit comments