Skip to content

Commit 4dffd74

Browse files
committed
Only handle *.jsx files by default in Babel middleware
1 parent 44ed277 commit 4dffd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React.AspNet/BabelFileOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class BabelFileOptions
4040
/// </summary>
4141
public BabelFileOptions()
4242
{
43-
Extensions = new[] { ".jsx", ".js" };
43+
Extensions = new[] { ".jsx" };
4444
StaticFileOptions = new StaticFileOptions();
4545
}
4646
}

0 commit comments

Comments
 (0)