Closed kepi closed 5 years ago
There is missing "end of string" in webpack's test regular expression. This leads to testing also .json files (and any other file containing ".js" anywhere in the string). See gatsbyjs/gatsby#10038 for one example of issue.
Ahh good catch! It would indeed match .json. Thank you @kepi !
.json
There is missing "end of string" in webpack's test regular expression. This leads to testing also .json files (and any other file containing ".js" anywhere in the string). See gatsbyjs/gatsby#10038 for one example of issue.