1 | import {HMR_STATE, HmrStore} from './hmr-store';
|
2 |
|
3 | export * from './webpack-hmr';
|
4 | export * from './hmr-decorator';
|
5 | export * from './hmr-store';
|
6 |
|
7 |
|
8 | export function provideHmrState(initialState = {}): Array<any> {
|
9 | return [
|
10 | {provide: HMR_STATE, useValue: initialState },
|
11 | {provide: HmrStore, useValue: HmrStore}
|
12 | ];
|
13 | }
|