Updated hfc to only run when in production env.

This commit is contained in:
Jennifer Mann
2017-05-22 18:28:02 -04:00
parent cee68a7246
commit 04f2d075fc

5
docs/scripts/config.js Normal file
View File

@@ -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
}