Tuesday 21 March 2017

Compiling .js and .json files together into one minified script

Hello,I was wondering if it was possible that given a few JS files and a JSON file, would it be possible to compile them together server side?E.g. The JS files contain the core logic while a JSON file contains settings specific to one case. And there could multiple JSON files for multiple cases. And I want to make the node server dynamically pick a JSON file and compile it against other JS files and store the result somewhere else to be served.

Submitted March 20, 2017 at 11:38PM by acylus0

No comments:

Post a Comment