-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support interop for namespace importing cjs function exports (v…
…ercel/turborepo#7914) ### Description Some libraries unfortunately use the "deprecated" babel way to import cjs dependencies. `a.js` ```js module.exports = () => {}; ``` `b.js` ```js import * as ns from "./a.cjs"; ns(); ```
- Loading branch information
1 parent
f25e81e
commit 0339a11
Showing
6 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.