Closed iccir closed 8 years ago
Currently, in our build script, we hardcode the location to runtime.js
runtime.js
build_library_header({ output_file: sub_soil_js, input_files: [ "ext/lodash/lodash.custom.min.js", "node_modules/ojc/lib/runtime.js" // <--- hardcoded! Bad Ricci!!! ] });
There should be actual API to get the runtime.js file:
const ojc = require("ojc"); let runtime = ojc.getRuntimePath();
Currently, in our build script, we hardcode the location to
runtime.js
There should be actual API to get the
runtime.js
file: