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.
1 parent 5071ac9 commit c84e70cCopy full SHA for c84e70c
core/lib/patternlab.js
@@ -77,7 +77,7 @@ var patternlab_engine = function (config) {
77
plutils = require('./utilities'),
78
patternlab = {};
79
80
- patternlab.package = fs.readJSONSync('./package.json');
+ patternlab.package = fs.readJSONSync(path.resolve(__dirname, '../../package.json'));
81
patternlab.config = config || fs.readJSONSync(path.resolve(__dirname, '../../patternlab-config.json'));
82
83
var paths = patternlab.config.paths;
0 commit comments