diff --git a/docs/scripts/config.js b/docs/scripts/config.js new file mode 100644 index 0000000000..4b7067333e --- /dev/null +++ b/docs/scripts/config.js @@ -0,0 +1,5 @@ +// only run the filter_cleanup if we are in +// production mode -- deploying static asset +if(process.env.NODE_ENV != "production"){ + hexo.config.filter_cleanup = false +}