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;
|
let webpackProcess;
|
||||||
|
|
||||||
class WebpackProcess extends ProcessWrapper {
|
class WebpackProcess extends ProcessWrapper {
|
||||||
|
constructor(options) {
|
||||||
|
super(options);
|
||||||
|
this.env = options.env;
|
||||||
|
}
|
||||||
|
|
||||||
build(file, importsList, callback) {
|
build(file, importsList, callback) {
|
||||||
const self = this;
|
const self = this;
|
||||||
let realCwd;
|
let realCwd;
|
||||||
|
@ -21,7 +21,6 @@ class ProcessWrapper {
|
|||||||
*/
|
*/
|
||||||
constructor(_options) {
|
constructor(_options) {
|
||||||
this.interceptLogs();
|
this.interceptLogs();
|
||||||
this.env = _options ? _options.env : 'development';
|
|
||||||
this.events = new Events();
|
this.events = new Events();
|
||||||
|
|
||||||
this.pingParent();
|
this.pingParent();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user