react-loadable
Advanced tools
Comparing version 5.2.3 to 5.2.4
@@ -6,2 +6,3 @@ 'use strict'; | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
@@ -40,2 +41,10 @@ function buildManifest(compiler, compilation) { | ||
var json = JSON.stringify(manifest, null, 2); | ||
var outputDirectory = path.dirname(_this.filename); | ||
try { | ||
fs.mkdirSync(outputDirectory); | ||
} catch (err) { | ||
if (err.code !== 'EEXIST') { | ||
throw err; | ||
} | ||
} | ||
fs.writeFileSync(_this.filename, json); | ||
@@ -42,0 +51,0 @@ callback(); |
{ | ||
"name": "react-loadable", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"description": "A higher order component for loading components with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
42789
360