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.
18 lines
264 B
18 lines
264 B
8 years ago
|
import { foo, bar, bog, boo, baz } from './stuff';
|
||
|
|
||
|
bar();
|
||
|
var f = baz();
|
||
|
f();
|
||
|
|
||
|
function getClass () {
|
||
|
class MyClass {}
|
||
|
class UnusedInnerClass1 {}
|
||
|
return MyClass;
|
||
|
class UnusedInnerClass2 {}
|
||
|
}
|
||
|
|
||
|
class UnusedClass {}
|
||
|
|
||
|
console.log( getClass().name );
|
||
|
|