From 735dc00c81bcb3ae7876bc2ba2951bcb6e48211b Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Tue, 11 Dec 2018 12:03:40 -0800 Subject: [PATCH] fix postbuild script --- package-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-scripts.js b/package-scripts.js index 10d40c69b7..3e8a749fd9 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -264,7 +264,7 @@ module.exports = { }, postbuild: { script: - 'buildProduction docs/_site/index.html --outroot docs/_dist --canonicalroot https://mochajs.org/ --optimizeimages --svgo --inlinehtmlimage 9400 --inlinehtmlscript 0 --asyncscripts && cp docs/_headers docs/_dist/_headers && node scripts/netlify-headers.js >> docs/_dist/_headers', + 'mkdirp docs/_dist && buildProduction docs/_site/index.html --outroot docs/_dist --canonicalroot https://mochajs.org/ --optimizeimages --svgo --inlinehtmlimage 9400 --inlinehtmlscript 0 --asyncscripts && cp docs/_headers docs/_dist/_headers && node scripts/netlify-headers.js >> docs/_dist/_headers', description: 'Post-process docs after build', hiddenFromHelp: true },