mirror of https://github.com/lukechilds/rollup.git
Oskar Segersvärd
9 years ago
3 changed files with 16 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||
|
module.exports = { |
||||
|
// solo: true, show: true,
|
||||
|
description: 'globally called function should be included if it modifies an exported value (#112)' |
||||
|
}; |
@ -0,0 +1,3 @@ |
|||||
|
import value from './module.js'; |
||||
|
|
||||
|
assert.equal( value, 'changed' ); |
@ -0,0 +1,9 @@ |
|||||
|
var value = 'original'; |
||||
|
|
||||
|
function change () { |
||||
|
value = 'changed'; |
||||
|
} |
||||
|
|
||||
|
change(); |
||||
|
|
||||
|
export default value; |
Loading…
Reference in new issue