Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export function readConfigFile(
}
}

let EXTENSIONS = /\.tsx?$|\.jsx?$/
let EXTENSIONS = /\.tsx?$|\.jsx?|.json$/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change needs to escape the period to work correctly.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected, thanks for review!

export type Dict<T> = { [key: string]: T }

const filterMtimes = (mtimes: any) => {
Expand Down