[internal] Keep the .cjs extension when compiling source files (#12820)
* [internal] Keep the .cjs extension when compiling * yarn
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import path from "path";
|
||||
|
||||
// $FlowIgnore
|
||||
import escapeRegExp from "./helpers/escape-regexp";
|
||||
import escapeRegExp from "./helpers/escape-regexp.cjs";
|
||||
|
||||
const sep = `\\${path.sep}`;
|
||||
const endSep = `(?:${sep}|$)`;
|
||||
|
||||
Reference in New Issue
Block a user