mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
2 changed files with 15 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
var path = require( 'path' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
description: 'exports directly from an external module', |
||||
|
options: { |
||||
|
external: [ 'path' ] |
||||
|
}, |
||||
|
exports: function ( exports ) { |
||||
|
assert.equal( exports.sep, path.sep ); |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
// https://github.com/esperantojs/esperanto/issues/161
|
@ -0,0 +1 @@ |
|||||
|
export { sep } from 'path'; |
Loading…
Reference in new issue