eject-webpack cmd should report error and exit if run outside DApp
This commit is contained in:
parent
8304657dc1
commit
c662ab362b
|
@ -316,6 +316,10 @@ class Cmd {
|
|||
.command('eject-webpack')
|
||||
.description(__('copy the default webpack config into your dapp for customization'))
|
||||
.action(function() {
|
||||
embark.initConfig('development', {
|
||||
embarkConfig: 'embark.json',
|
||||
interceptLogs: false
|
||||
});
|
||||
embark.ejectWebpack();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue