| 50 | // Takes the given module and if it has a ".default" the ".default" will |
| 51 | // be returned. i.e. handy when you could be dealing with es6 imports. |
| 52 | const es6Resolve = x => |
| 53 | autoResolveES2015Default && |
| 54 | x != null && |
| 55 | (typeof x === 'function' || typeof x === 'object') && |
| 56 | x.default |
| 57 | ? x.default |
| 58 | : x |
| 59 | |
| 60 | const getResolver = () => { |
| 61 | if (state.resolver == null) { |
no outgoing calls
no test coverage detected
searching dependent graphs…