Skip to content

Instantly share code, notes, and snippets.

@shannonmoeller
Last active Apr 18, 2017
Embed
What would you like to do?
Rollup code-splitting inputs.
import { foo } from './foo';
import { bar } from './bar';
export function a() {
return foo() + bar();
}
import { foo } from './foo';
import { baz } from './baz';
export function b() {
return foo() + baz();
}
export function bar() {
return 'bar';
}
export function baz() {
return 'baz';
}
export function foo() {
return 'foo';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment