From b075b3d7d491fa6bd2293d12bb087733c1904406 Mon Sep 17 00:00:00 2001 From: Legends Date: Sun, 18 Feb 2018 18:46:32 +0100 Subject: [PATCH] Update getting-started.md This addition would have helped me a lot: Add `--display-error-details` for detailed error messages, .i.e. `npm run build --display-error-details`. Without this flag development is a black box and painful --- src/content/guides/getting-started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/guides/getting-started.md b/src/content/guides/getting-started.md index 669e336cf604..32c3e31cfa8b 100644 --- a/src/content/guides/getting-started.md +++ b/src/content/guides/getting-started.md @@ -257,6 +257,7 @@ bundle.js 544 kB 0 [emitted] [big] main [3] (webpack)/buildin/module.js 517 bytes {0} [built] + 1 hidden module ``` +Add `--display-error-details` for detailed error messages, .i.e. `npm run build --display-error-details`. T> Custom parameters can be passed to webpack by adding two dashes between the `npm run build` command and your parameters, e.g. `npm run build -- --colors`.