From c662ab362b029680225b51c4a4c63affe8cbcedd Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 11 Sep 2018 19:37:06 -0500 Subject: [PATCH] eject-webpack cmd should report error and exit if run outside DApp --- cmd/cmd.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/cmd.js b/cmd/cmd.js index 561bca56..d7d2876d 100644 --- a/cmd/cmd.js +++ b/cmd/cmd.js @@ -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(); }); }