I have a module which needs to expose a number of different classes to the user. Lets say ClassA and ClassB:

```
export class ClassA {}
export class ClassB {}

```

However, when used in HTML without a bundler (e.g. with `libraryTarget: 'window'` in webpack), I need these two classes to be exposed as root level objects:

```
window.ClassA = ClassA;
window.ClassB = ClassB;

```

This is because the user needs to be able to do things like:

```
var a = new ClassA(new ClassB(), new ClassB())

```

However, webpack will only let me assign the exports to the `window` inside a singular namespace. With `library: MyLib` in webpack, and code that uses my library has to use this namespace:

```
var a = new MyLib.ClassA(new MyLib.ClassB(), new MyLib.ClassB())

```

This isn't what I want. Is there a way to make these classes available on the window object directly?