You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`withDevtools()` is by default disabled in production mode, however if you want to tree-shake it from the application bundle you need to abstract it in your environment file.
79
+
### Configuration
80
+
81
+
You may configure this feature by setting up a provider in your application:
82
+
83
+
```typescript
84
+
providers: [
85
+
provideStoreDevtoolsConfig({
86
+
logOnly: !isDevMode(), // Restrict extension to log-only mode, default is false
87
+
})
88
+
]
89
+
```
90
+
91
+
When running in production you may opt to tree-shake it from the application bundle you need to abstract it in your environment file.
80
92
81
93
<details>
82
94
83
95
<summary>Devtools tree-shaking details</summary>
84
96
85
-
environment.ts:
97
+
If the environment files don't exist in your project you can use the `ng generate environments` command to create them.
0 commit comments