mirror of https://github.com/lukechilds/rollup.git
Rich Harris
10 years ago
5 changed files with 19 additions and 7 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'imports a namespace from an external module and renames it' |
|||
}; |
@ -0,0 +1,6 @@ |
|||
import * as node_path from 'path'; |
|||
|
|||
var path1 = 'foo/bar/baz'; |
|||
var path2 = 'foo/baz/bar'; |
|||
|
|||
assert.equal( node_path.relative( path1, path2 ), '../../baz/bar' ); |
Loading…
Reference in new issue