You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+34-1
Original file line number
Diff line number
Diff line change
@@ -253,7 +253,40 @@ module.exports = function customName(name) {
253
253
254
254
#### transformToDefaultImport
255
255
256
-
Set this option to `false` if your module does not have a `default` export.
256
+
Set this option to `false` if your module does not have a `default` export.
257
+
258
+
If `transformToDefaultImport` is a `Function`, your module will have a either `default` export or `named` export, depending on the function return value.
0 commit comments