mirror of https://github.com/lukechilds/rollup.git
Rich Harris
8 years ago
committed by
GitHub
5 changed files with 21 additions and 3 deletions
@ -0,0 +1,15 @@ |
|||
const assert = require( 'assert' ); |
|||
|
|||
module.exports = { |
|||
description: 'populates file property of sourcemap when plugins are used (#986)', |
|||
options: { |
|||
plugins: [ |
|||
{ |
|||
transform () {} |
|||
} |
|||
] |
|||
}, |
|||
test: ( code, map, profile ) => { |
|||
assert.equal( map.file, `bundle.${profile.format}.js` ); |
|||
} |
|||
}; |
@ -0,0 +1 @@ |
|||
console.log( 42 ); |
Loading…
Reference in new issue