Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
error message: externals -> external (#99)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
GGAlanSmithee authored and bfred-it committed Jun 22, 2017
1 parent 2f9db30 commit 2b13f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 2b13f7b

Please sign in to comment.