mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[healthcheck] Don't compile mjs
ghstack-source-id: 087985cd23
Pull Request resolved: https://github.com/facebook/react-forget/pull/2959
This commit is contained in:
@@ -102,7 +102,7 @@ function compile(sourceCode: string, filename: string) {
|
||||
} catch {}
|
||||
}
|
||||
|
||||
const JsFileExtensionRE = /(js|ts|jsx|tsx|mjs)$/;
|
||||
const JsFileExtensionRE = /(js|ts|jsx|tsx)$/;
|
||||
|
||||
export default {
|
||||
run(source: string, path: string): void {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import chalk from "chalk";
|
||||
|
||||
const JsFileExtensionRE = /(js|ts|jsx|tsx|mjs)$/;
|
||||
const JsFileExtensionRE = /(js|ts|jsx|tsx)$/;
|
||||
const StrictModeRE = /\<StrictMode\>/;
|
||||
let StrictModeUsage = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user