From 6d312e7ba794cbb504af7a2f6a6c1ca5ae0ecc02 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 4 Feb 2020 01:41:47 -0500 Subject: Create dir when building if needed. --- webpack/webpack.manifest.js | 1 + 1 file changed, 1 insertion(+) (limited to 'webpack/webpack.manifest.js') diff --git a/webpack/webpack.manifest.js b/webpack/webpack.manifest.js index 08e48b29..2a884b59 100644 --- a/webpack/webpack.manifest.js +++ b/webpack/webpack.manifest.js @@ -42,6 +42,7 @@ class BuildManifest { let result = JSON.stringify(manifest); if (this.options.pretty) result = JSON.stringify(manifest, null, 2); + fs.mkdirSync(distManifestFile); fs.writeFileSync(distManifestFile, result); } } -- cgit v1.2.3