mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
8 years ago
3 changed files with 10 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'preserves default exports that are only used locally (#984)' |
|||
}; |
@ -0,0 +1,5 @@ |
|||
export default function foo () { |
|||
global.foo = 1; |
|||
} |
|||
|
|||
foo(); |
@ -0,0 +1,2 @@ |
|||
import './foo'; |
|||
assert.equal( global.foo, 1 ); |
Loading…
Reference in new issue