mirror of https://github.com/embarklabs/embark.git
rm code that doesn't seem to be doing anything (after much investigation)
This commit is contained in:
parent
7ea7234024
commit
fd2056da8e
|
@ -15,10 +15,6 @@ class WebpackProcess extends ProcessWrapper {
|
||||||
let realCwd;
|
let realCwd;
|
||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function findImports(next) {
|
|
||||||
self.webpackRun(file.filename, {}, false, importsList, false, realCwd, next);
|
|
||||||
},
|
|
||||||
|
|
||||||
function changeCwd(next) {
|
function changeCwd(next) {
|
||||||
realCwd = utils.pwd();
|
realCwd = utils.pwd();
|
||||||
process.chdir(fs.embarkPath(''));
|
process.chdir(fs.embarkPath(''));
|
||||||
|
@ -39,7 +35,6 @@ class WebpackProcess extends ProcessWrapper {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
webpackRun(filename, options, includeModules, importsList, detectErrors, realCwd, callback) {
|
webpackRun(filename, options, includeModules, importsList, detectErrors, realCwd, callback) {
|
||||||
let defaultOptions = {
|
let defaultOptions = {
|
||||||
entry: fs.dappPath(filename),
|
entry: fs.dappPath(filename),
|
||||||
|
@ -55,9 +50,6 @@ class WebpackProcess extends ProcessWrapper {
|
||||||
fs.dappPath('node_modules')
|
fs.dappPath('node_modules')
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
externals: function (context, request, callback) {
|
|
||||||
callback();
|
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
new HardSourceWebpackPlugin({
|
new HardSourceWebpackPlugin({
|
||||||
cacheDirectory: fs.dappPath('node_modules/.cache/hard-source'),
|
cacheDirectory: fs.dappPath('node_modules/.cache/hard-source'),
|
||||||
|
|
Loading…
Reference in New Issue