mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
4 changed files with 15 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'allows a namespace to be assigned to a variable' |
||||
|
}; |
@ -0,0 +1,5 @@ |
|||||
|
export function foo () { |
||||
|
return 10; |
||||
|
} |
||||
|
|
||||
|
export var bar = 20; |
@ -0,0 +1,4 @@ |
|||||
|
import * as b from './b'; |
||||
|
|
||||
|
var val = b.foo(); |
||||
|
var val2 = b.bar; |
Loading…
Reference in new issue