Skip to content

Commit

Permalink
fix(parcel): make sure devdependencies is initialized
Browse files Browse the repository at this point in the history
trieloff committed May 14, 2019
1 parent ca23a5f commit 47db87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parcel/AdapterJSAsset.js
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ class AdapterJSAsset extends JSAsset {

async getPackage() {
const pack = await super.getPackage();
return pack || {};
return pack || { devDependencies: {} };
}
}

0 comments on commit 47db87b

Please sign in to comment.