16 lines
783 B
Diff
16 lines
783 B
Diff
|
diff --git a/index.cjs b/index.cjs
|
||
|
index b645707a3549fc298508726e404243499bbed499..f34b0891e99b275a9218e253f303f43d31ef3f73 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.
|