mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
5 changed files with 20 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
description: 'throws error if config does not export an object', |
||||
|
command: 'rollup -c', |
||||
|
error: function ( err ) { |
||||
|
assert.ok( /Config file must export an options object/.test( err.message ) ); |
||||
|
} |
||||
|
}; |
Loading…
Reference in new issue