mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-03 10:54:16 +00:00
Merge pull request #812 from embark-framework/bug_fix/eject-webpack-outside-dapp
eject-webpack cmd should report error and exit if run outside DApp
This commit is contained in:
commit
b3b8374d00
@ -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