mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
8 years ago
3 changed files with 16 additions and 2 deletions
@ -0,0 +1,9 @@ |
|||
module.exports = { |
|||
description: 'handles vars with init in dead branch (#1198)', |
|||
warnings: [ |
|||
{ |
|||
code: 'EMPTY_BUNDLE', |
|||
message: 'Generated an empty bundle' |
|||
} |
|||
] |
|||
}; |
@ -0,0 +1,4 @@ |
|||
if ( false ) { |
|||
var foo = []; |
|||
var bar = foo.concat( 'x' ); |
|||
} |
Loading…
Reference in new issue