From 2b13f7b9f6956c0811f255ac39607575ecfd59b6 Mon Sep 17 00:00:00 2001 From: Alan Smithee Date: Thu, 22 Jun 2017 09:32:00 +0200 Subject: [PATCH] error message: externals -> external (#99) Following the error advice will give you follow-up error `Error: Unexpected key 'externals' found, expected one of: acorn, banner, cache, context, dest, entry, exports, external, ...` So, I guess it should say `external` instead --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5fe6d4c..60556f1 100644 --- a/src/index.js +++ b/src/index.js @@ -22,7 +22,7 @@ export default function nodeResolve ( options = {} ) { const resolveId = options.browser ? browserResolve : _nodeResolve; if ( options.skip ) { - throw new Error( 'options.skip is no longer supported — you should use the main Rollup `externals` option instead' ); + throw new Error( 'options.skip is no longer supported — you should use the main Rollup `external` option instead' ); } if ( !useModule && !useMain && !useJsnext ) {