diff options
author | Ajay Ramachandran <[email protected]> | 2020-02-04 01:41:47 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-02-04 01:41:47 -0500 |
commit | 6d312e7ba794cbb504af7a2f6a6c1ca5ae0ecc02 (patch) | |
tree | 6efeedefd7af9c544edf22e8f32d29b5ef9d67de /webpack | |
parent | 09a33c4252242f5184522af9973940c5a4954431 (diff) | |
download | SponsorBlock-6d312e7ba794cbb504af7a2f6a6c1ca5ae0ecc02.tar.gz SponsorBlock-6d312e7ba794cbb504af7a2f6a6c1ca5ae0ecc02.zip |
Create dir when building if needed.
Diffstat (limited to 'webpack')
-rw-r--r-- | webpack/webpack.manifest.js | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |