mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
5 changed files with 43 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'does not rename property keys' |
|||
}; |
@ -0,0 +1,7 @@ |
|||
import one from './one'; |
|||
import two from './two'; |
|||
import three from './three'; |
|||
|
|||
assert.equal( one(), 'one' ); |
|||
assert.equal( two(), 'two' ); |
|||
assert.equal( three(), 'three' ); |
@ -0,0 +1,11 @@ |
|||
const obj = { |
|||
foo: foo |
|||
}; |
|||
|
|||
function foo () { |
|||
return 'one'; |
|||
} |
|||
|
|||
export default function () { |
|||
return obj.foo(); |
|||
} |
@ -0,0 +1,11 @@ |
|||
const obj = { |
|||
foo: foo |
|||
}; |
|||
|
|||
function foo () { |
|||
return 'three'; |
|||
} |
|||
|
|||
export default function () { |
|||
return obj.foo(); |
|||
} |
@ -0,0 +1,11 @@ |
|||
const obj = { |
|||
foo: foo |
|||
}; |
|||
|
|||
function foo () { |
|||
return 'two'; |
|||
} |
|||
|
|||
export default function () { |
|||
return obj.foo(); |
|||
} |
Loading…
Reference in new issue