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.
20 lines
261 B
20 lines
261 B
9 years ago
|
const myBundle = (function (external,other,another) {
|
||
|
'use strict';
|
||
|
|
||
|
const a = 1;
|
||
|
const b = 2;
|
||
|
|
||
|
|
||
|
const namespace = Object.freeze({
|
||
|
a: a,
|
||
|
b: b
|
||
|
});
|
||
|
|
||
|
console.log( Object.keys( namespace ) );
|
||
|
|
||
|
const main = 42;
|
||
|
|
||
|
return main;
|
||
|
|
||
|
}(external,other,another));
|