mirror of https://github.com/lukechilds/rollup.git
5 changed files with 14 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,5 @@ |
|||
module.exports = { |
|||
description: 'imports as- chained exports' |
|||
}; |
|||
|
|||
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/import-chain
|
@ -0,0 +1 @@ |
|||
export var value = 42; |
@ -0,0 +1,6 @@ |
|||
import * as second from './second'; |
|||
|
|||
assert.equal(second.first.value, 42); |
|||
assert.deepEqual(second, {first: {value: 42}}) |
|||
//console.log("second", second)
|
|||
//console.log("first", second.first)
|
@ -0,0 +1,2 @@ |
|||
import * as first from './first'; |
|||
export { first }; |
Loading…
Reference in new issue