mirror of https://github.com/lukechilds/rollup.git
Oskar Segersvärd
10 years ago
4 changed files with 34 additions and 6 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'expands shorthand properties as necessary (#61)' |
|||
}; |
@ -0,0 +1,7 @@ |
|||
function bar () { |
|||
return 'foo-bar'; |
|||
} |
|||
|
|||
export var foo = { |
|||
bar |
|||
}; |
@ -0,0 +1,8 @@ |
|||
import { foo } from './foo'; |
|||
|
|||
function bar () { |
|||
return 'main-bar'; |
|||
} |
|||
|
|||
assert.equal( bar(), 'main-bar' ); |
|||
assert.equal( foo.bar(), 'foo-bar' ); |
Loading…
Reference in new issue