fluent-cli
Version:
fluent cli
14 lines (13 loc) • 911 B
JavaScript
// const one = "node ../../bin/webpack.js" + displayReasons + " --display-chunks --display-modules --display-origins --display-entrypoints --output-public-path \"js/\" -p " + extraArgs + targetArgs;
// const two = "node ../../bin/webpack.js" + displayReasons + " --display-chunks --display-modules --display-origins --display-entrypoints --output-public-path \"js/\" --output-pathinfo " + extraArgs + targetArgs;
// const one = this.script1.toString();
// const two = this.script2.toString();
//
// exec(one, (error, stdout, stderr) => {
// var readme = tc.replaceResults(this.template.contents, process.cwd(), stdout.replace(/[\r\n]*$/, ""), "min");
// exec(two, (error2, stdout2, stderr2) => {
// readme = tc.replaceResults(readme, process.cwd(), stdout2.replace(/[\r\n]*$/, ""));
// readme = tc.replaceBase(readme);
// this.readme.setContent(readme).write();
// });
// });