Skip to content

Commit 0f2a65a

Browse files
fix(overmind-angular): fix changes to v6 and build prod
1 parent fae6cb6 commit 0f2a65a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/node_modules/overmind-angular/src/directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import {
1111
Inject,
1212
// @ts-ignore
1313
} from '@angular/core'
14-
import { OvermindService } from './service'
1514
import { EventType, Overmind, MODE_SSR } from 'overmind'
1615
import { IS_PROXY } from 'proxy-state-tree'
1716

1817
export const OVERMIND_INSTANCE = new InjectionToken('OVERMIND')
1918

19+
// @ts-ignore
2020
const IS_PRODUCTION = process.env.NODE_ENV === 'production'
2121

2222
let nextComponentId = 0

packages/node_modules/overmind-angular/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @ts-ignore
22
import { NgModule } from '@angular/core'
3-
import { OvermindTrackDirective, OVERMIND_INSTANCE } from './directive'
3+
4+
import { OVERMIND_INSTANCE, OvermindTrackDirective } from './directive'
45
import { OvermindService } from './service'
56

67
export { OVERMIND_INSTANCE, OvermindService }

0 commit comments

Comments
 (0)