mirror of https://github.com/lukechilds/rollup.git
Brian Donovan
9 years ago
4 changed files with 17 additions and 5 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'trims conditional branches with a renamed default export' |
|||
}; |
@ -0,0 +1,2 @@ |
|||
var foo = 0; |
|||
export default Math.random() < 0.5 ? foo : foo; |
@ -0,0 +1,2 @@ |
|||
import foo from './foo.js'; |
|||
console.log( true ? false ? foo : 0 : 1 ); |
Loading…
Reference in new issue