mirror of https://github.com/lukechilds/rollup.git
Rich Harris
8 years ago
3 changed files with 12 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
var assert = require( 'assert' ); |
|||
|
|||
module.exports = { |
|||
solo: true, |
|||
description: 'export { foo as default } does not create a live binding' |
|||
}; |
@ -0,0 +1,3 @@ |
|||
let foo = 1; |
|||
export { foo as default }; |
|||
foo = 2; |
@ -0,0 +1,3 @@ |
|||
import foo from './foo.js'; |
|||
|
|||
assert.equal( foo, 1 ); |
Loading…
Reference in new issue