mirror of https://github.com/lukechilds/rollup.git
8 changed files with 33 additions and 5 deletions
@ -1,3 +0,0 @@ |
|||||
module.exports = { |
|
||||
description: 'Non-absolute and non-relative modules are assumed to be external' |
|
||||
}; |
|
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'imports default from external module' |
||||
|
}; |
@ -0,0 +1,7 @@ |
|||||
|
// would be a namespace import in real life, obvs
|
||||
|
import path from 'path'; |
||||
|
|
||||
|
var path1 = 'foo/bar/baz'; |
||||
|
var path2 = 'foo/baz/bar'; |
||||
|
|
||||
|
assert.equal( path.relative( path1, path2 ), '../../baz/bar' ); |
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'imports names from an external module' |
||||
|
}; |
Loading…
Reference in new issue