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.
12 lines
285 B
12 lines
285 B
var a = 42;
|
|
|
|
export function change() {
|
|
a++;
|
|
}
|
|
|
|
export default a;
|
|
|
|
// Any replacement for the `export default` above needs to happen in the same
|
|
// location. It cannot be done, say, at the end of the file. Otherwise the new
|
|
// value of `a` will be used and will be incorrect.
|
|
a = 0;
|
|
|