Open thejsj opened 8 years ago
This is useful if you want to use something dynamically generated during the build process and want to somehow do something with that. Here's an example:
templateData: function () { var envConfig = require('./client/config/json/environment.json'); return { version: version, env: envConfig.environment, commitHash: envConfig.commitHash, commitTime: envConfig.commitTime, apiHost: envConfig.host }; },
Would be happy to add tests/documentation/w/e else is needed if you're interested in adding this in.
Awesome! Could you add a test for this, please?
ping @thejsj
Let me see if I can take a look at this this weekend :)
I would love this functionality as well
This is useful if you want to use something dynamically generated during the build process and want to somehow do something with that. Here's an example:
Would be happy to add tests/documentation/w/e else is needed if you're interested in adding this in.