|
|
|
@ -184,7 +184,9 @@ function generateNewIndexJsp() {
|
|
|
|
|
// combinedStream.append(htmlContent);
|
|
|
|
|
// combinedStream.pipe(fs2.createWriteStream( filePath ));
|
|
|
|
|
|
|
|
|
|
var outputPath = paths.appBuild + '/../../../app/views/common/index.html.erb'
|
|
|
|
|
// var outputPath = paths.appBuild + '/../../../app/views/common/index.html.erb'
|
|
|
|
|
var outputPath = paths.appBuild + '/../../../public/react/build/index.html'
|
|
|
|
|
|
|
|
|
|
fs2.readFile(filePath, 'utf8', function (err,data) {
|
|
|
|
|
if (err) {
|
|
|
|
|
return console.log(err);
|
|
|
|
|