diff --git a/src/rollup.js b/src/rollup.js index 11f1c68..d509bd2 100644 --- a/src/rollup.js +++ b/src/rollup.js @@ -9,24 +9,21 @@ import Bundle from './Bundle.js'; export const VERSION = '<@VERSION@>'; const ALLOWED_KEYS = [ - 'entry', + 'banner', 'dest', - 'plugins', + 'entry', 'external', - 'onwarn', - 'indent', + 'footer', 'format', - 'moduleName', - 'sourceMap', + 'globals', + 'indent', 'intro', + 'moduleId', + 'moduleName', + 'onwarn', 'outro', - 'banner', - 'footer', - 'globals', - 'transform', - 'load', - 'resolveId', - 'resolveExternal' + 'plugins', + 'sourceMap' ]; export function rollup ( options ) { diff --git a/test/test.js b/test/test.js index 5ee72ba..b726ec5 100644 --- a/test/test.js +++ b/test/test.js @@ -74,7 +74,7 @@ describe( 'rollup', function () { return rollup.rollup({ entry: 'x', plUgins: [] }).then( function () { throw new Error( 'Missing expected error' ); }, function ( err ) { - assert.equal( 'Unexpected key \'plUgins\' found, expected one of: entry, dest, plugins, external, onwarn, indent, format, moduleName, sourceMap, intro, outro, banner, footer, globals, transform, load, resolveId, resolveExternal', err.message ); + assert.equal( 'Unexpected key \'plUgins\' found, expected one of: banner, dest, entry, external, footer, format, globals, indent, intro, moduleId, moduleName, onwarn, outro, plugins, sourceMap', err.message ); }); }); });