From 998485b86f90e4a989be68c50b6329b1d8a60d6d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 13 May 2018 17:49:12 +0200 Subject: [PATCH] Allow the usage of dynamic configuration (#63) Next.js 6 now generates a vendor bundle with a dynamic filename. I'm looking for a way to handle this change. --- cli.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 7e43234e..2e2eaf0b 100755 --- a/cli.js +++ b/cli.js @@ -176,7 +176,8 @@ function getConfig () { const explorer = cosmiconfig('size-limit', { searchPlaces: [ 'package.json', - '.size-limit' + '.size-limit', + 'size-limit.config.js' ] }) return explorer