mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
329 B
13 lines
329 B
var path = require( 'path' );
|
|
var assert = require( 'assert' );
|
|
|
|
module.exports = {
|
|
description: 'source paths are relative with relative dest (#344)',
|
|
options: {
|
|
moduleName: 'myModule',
|
|
dest: path.resolve( '_actual/bundle.js' )
|
|
},
|
|
test: function ( code, map ) {
|
|
assert.deepEqual( map.sources, [ '../main.js' ]);
|
|
}
|
|
};
|
|
|