Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: susan <susan@cal.com> Co-authored-by: Eunjae Lee <hey@eunjae.dev>
15 lines
706 B
Diff
Vendored
15 lines
706 B
Diff
Vendored
diff --git a/index.cjs b/index.cjs
|
|
index c83f700..da6fc7e 100644
|
|
--- a/index.cjs
|
|
+++ b/index.cjs
|
|
@@ -13,8 +13,8 @@ function withMetadataArgument(func, _arguments) {
|
|
// https://github.com/babel/babel/issues/2212#issuecomment-131827986
|
|
// An alternative approach:
|
|
// https://www.npmjs.com/package/babel-plugin-add-module-exports
|
|
-exports = module.exports = min.parsePhoneNumberFromString
|
|
-exports['default'] = min.parsePhoneNumberFromString
|
|
+// exports = module.exports = min.parsePhoneNumberFromString
|
|
+// exports['default'] = min.parsePhoneNumberFromString
|
|
|
|
// `parsePhoneNumberFromString()` named export is now considered legacy:
|
|
// it has been promoted to a default export due to being too verbose.
|