mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
4 changed files with 17 additions and 2 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'handles default function exports wrapped in parens' |
|||
}; |
@ -0,0 +1,3 @@ |
|||
export default (function () { |
|||
global.answer = 42; |
|||
}); |
@ -0,0 +1,3 @@ |
|||
import foo from './foo.js'; |
|||
foo(); |
|||
assert.equal( global.answer, 42 ); |
Loading…
Reference in new issue