mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
more conservative: only modify webpack's subclass of ProcessWrapper
This commit is contained in:
parent
dd46765154
commit
5dc4cad03d
@ -10,6 +10,11 @@ const path = require('path');
|
||||
let webpackProcess;
|
||||
|
||||
class WebpackProcess extends ProcessWrapper {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
this.env = options.env;
|
||||
}
|
||||
|
||||
build(file, importsList, callback) {
|
||||
const self = this;
|
||||
let realCwd;
|
||||
|
@ -21,7 +21,6 @@ class ProcessWrapper {
|
||||
*/
|
||||
constructor(_options) {
|
||||
this.interceptLogs();
|
||||
this.env = _options ? _options.env : 'development';
|
||||
this.events = new Events();
|
||||
|
||||
this.pingParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user