From 7deea87bd606cd0a53d668e04274ec942ac4a9ce Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 19 Jul 2018 20:50:46 -0500 Subject: [PATCH] rm code that doesn't seem to be doing anything (after much investigation) --- lib/pipeline/webpackProcess.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index 25b711f3..feb0dfea 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -15,10 +15,6 @@ class WebpackProcess extends ProcessWrapper { let realCwd; async.waterfall([ - function findImports(next) { - self.webpackRun(file.filename, {}, false, importsList, false, realCwd, next); - }, - function changeCwd(next) { realCwd = utils.pwd(); process.chdir(fs.embarkPath('')); @@ -39,7 +35,6 @@ class WebpackProcess extends ProcessWrapper { }); } - webpackRun(filename, options, includeModules, importsList, detectErrors, realCwd, callback) { let defaultOptions = { entry: fs.dappPath(filename), @@ -55,9 +50,6 @@ class WebpackProcess extends ProcessWrapper { fs.dappPath('node_modules') ] }, - externals: function (context, request, callback) { - callback(); - }, plugins: [ new HardSourceWebpackPlugin({ cacheDirectory: fs.dappPath('node_modules/.cache/hard-source'),