mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
6 changed files with 19 additions and 7 deletions
@ -1,4 +1,3 @@ |
|||
module.exports = { |
|||
solo: true, |
|||
description: 'handles superfluous semicolons' |
|||
}; |
|||
|
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'marks namespace members' |
|||
}; |
@ -0,0 +1,5 @@ |
|||
function bar () { |
|||
return 42; |
|||
} |
|||
|
|||
export default bar; |
@ -0,0 +1 @@ |
|||
export { default as bar } from './bar'; |
@ -0,0 +1,4 @@ |
|||
import * as foo from './foo'; |
|||
|
|||
var member = 'bar'; |
|||
assert.equal( foo[ member ](), 42 ); |
Loading…
Reference in new issue