From c660b0c83f98685c6ef6aaeff51afc0f3e2f343d Mon Sep 17 00:00:00 2001 From: Dmitry Melanchenko Date: Thu, 23 May 2019 20:40:50 -0400 Subject: [PATCH] Recreates template json as part of the build process --- bin/build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/build.js b/bin/build.js index 27e9998..9eb13d4 100755 --- a/bin/build.js +++ b/bin/build.js @@ -11,10 +11,14 @@ /** * bin/build.js */ +const rgu = require('../src/resourceGenUtils'); const cu = require('../src/compressUtils'); const startTime = Date.now(); cu.checkConflictingCtxDefs(); +const packageInfo = rgu.getPackageInfo(); +rgu.createTemplateJson(packageInfo); +console.log(`Done creating template (${Date.now() - startTime}ms)`); cu.buildTransform(); console.log(`Done building transform (${Date.now() - startTime}ms)`); cu.buildConnection();