Skip to content

Instantly share code, notes, and snippets.

@mbostock
Last active August 29, 2015 14:23
Show Gist options
  • Save mbostock/525efe52c9015002fdca to your computer and use it in GitHub Desktop.
Save mbostock/525efe52c9015002fdca to your computer and use it in GitHub Desktop.
.DS_Store
node_modules
function thing(thing) {}
export default thing;
'use strict';
function thing(thing) {}
var bar = _thing;
function thing(thing) {}
var foo = thing;
exports.foo = foo;
exports.bar = bar;
function thing(thing) {}
export default thing;
import foo from "./foo";
import bar from "./bar";
export {
foo,
bar
};
{
"main": "build",
"scripts": {
"pretest": "rollup --format=cjs -- index.js > build.js",
"test": "node -e 'require(\"./\")'"
},
"devDependencies": {
"rollup": "^0.8.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment