mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
386 B
11 lines
386 B
8 years ago
|
const assert = require( 'assert' );
|
||
|
|
||
|
module.exports = {
|
||
|
description: 'uses original name of default export function (#1011)',
|
||
|
warnings: warnings => {
|
||
|
assert.deepEqual( warnings, [
|
||
|
'foo.js (1:15) Ambiguous default export (is a call expression, but looks like a function declaration). See https://github.com/rollup/rollup/wiki/Troubleshooting#ambiguous-default-export'
|
||
|
]);
|
||
|
}
|
||
|
};
|