[internal] Keep the .cjs extension when compiling source files (#12820)
* [internal] Keep the .cjs extension when compiling * yarn
This commit is contained in:
@@ -7,7 +7,7 @@ import { addHook } from "pirates";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import Module from "module";
|
||||
import escapeRegExp from "./escape-regexp";
|
||||
import escapeRegExp from "./escape-regexp.cjs";
|
||||
|
||||
const maps = {};
|
||||
let transformOpts = {};
|
||||
|
||||
Reference in New Issue
Block a user