From cffe0fd15a446150ccddcd7241a8665663e0a019 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 10 Apr 2014 19:42:48 -0500 Subject: [PATCH] Require wintersmith when needed --- make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.js b/make.js index ae664f202..2a0be66f7 100644 --- a/make.js +++ b/make.js @@ -23,7 +23,6 @@ require('./external/shelljs/make'); var builder = require('./external/builder/builder.js'); var crlfchecker = require('./external/crlfchecker/crlfchecker.js'); -var wintersmith = require('wintersmith'); var path = require('path'); var fs = require('fs'); @@ -169,6 +168,7 @@ target.web = function() { cp('-R', 'test/features', GH_PAGES_DIR); cp('-R', B2G_BUILD_DIR, GH_PAGES_DIR + EXTENSION_SRC_DIR + 'b2g/'); + var wintersmith = require('wintersmith'); var env = wintersmith('docs/config.json'); env.build(GH_PAGES_DIR, function (error) { if (error) {