mirror of https://github.com/lukechilds/rollup.git
3 changed files with 13 additions and 2 deletions
@ -0,0 +1,4 @@ |
|||||
|
module.exports = { |
||||
|
description: 'external modules are not shadowed', |
||||
|
skip: true |
||||
|
}; |
@ -0,0 +1,7 @@ |
|||||
|
import { relative } from 'path'; |
||||
|
|
||||
|
function getRelativePath ( path, path2 ) { |
||||
|
return relative( path, path2 ); |
||||
|
} |
||||
|
|
||||
|
assert.equal( getRelativePath( 'foo/bar/baz', 'foo/baz/bar' ), '../../baz/bar' ); |
Loading…
Reference in new issue