☕️ Classic, reliable, trusted test framework for Node.js and the browser
Added assetgraph-builder post build improvement
Peter Müllera27e54d846fe
diff --git a/.gitignore b/.gitignoreindex 774d4379..1534ff89 100644--- a/.gitignore+++ b/.gitignore@@ -20,3 +20,4 @@ mocha.js*_LOCAL_**_REMOTE_*docs/_site+docs/_distdiff --git a/package.json b/package.jsonindex 00cea012..0e332338 100644--- a/package.json+++ b/package.json@@ -305,6 +305,7 @@"coveralls": "nyc report --reporter=text-lcov | coveralls","prebuildDocs": "node scripts/docs-update-toc.js","buildDocs": "bundle exec jekyll build --source ./docs --destination ./docs/_site --config ./docs/_config.yml --safe --drafts",+ "postbuildDocs": "buildProduction docs/_site/index.html --outroot docs/_dist --canonicalroot https://mochajs.org/ --optimizeimages --asyncscripts ","prewatchDocs": "node scripts/docs-update-toc.js","watchDocs": "bundle exec jekyll serve --source ./docs --destination ./docs/_site --config ./docs/_config.yml --safe --drafts --watch"},@@ -322,6 +323,7 @@},"devDependencies": {"assert": "^1.4.1",+ "assetgraph-builder": "^5.6.4","browserify": "^14.4.0","buffer": "^4.9.1","coffee-script": "^1.10.0",