We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 440ca65 + 338852a commit 420bd67Copy full SHA for 420bd67
index.js
@@ -50,7 +50,7 @@ module.exports = function(options) {
50
requireFn = require;
51
}
52
53
- configObject = (typeof config === 'string') ? require(config) : config;
+ configObject = (typeof config === 'string') ? requireFn(config) : config;
54
55
if(!configObject) {
56
throw new Error('Could not find dependencies. Do you have a package.json file in your project?');
package.json
@@ -31,7 +31,8 @@
31
"Connor Peet",
32
"Dorian Camilleri",
33
"Carlos Henrique",
34
- "iamfrontender <[email protected]>"
+ "iamfrontender <[email protected]>",
35
+ "mwessner"
36
],
37
"license": "MIT",
38
"dependencies": {
0 commit comments