diff --git a/src/license-plugin.js b/src/license-plugin.js index 46f50b0e..297823b0 100644 --- a/src/license-plugin.js +++ b/src/license-plugin.js @@ -327,7 +327,7 @@ module.exports = class LicensePlugin { this.debug(`exporting third-party summary to ${output}`); // Create directory if it does not already exist. - mkdirp(path.parse(output).dir); + mkdirp.sync(path.parse(output).dir); const includePrivate = thirdParty.includePrivate; const text = _.chain(this._dependencies)