mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-22 21:29:14 +00:00
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…
x
Reference in New Issue
Block a user