Don't log store mutations in prod build
This commit is contained in:
parent
93b0ec340e
commit
04ff61dbdd
@ -7,7 +7,7 @@ import { initialState as state, mutations } from './mutations';
|
|||||||
import * as getters from './getters';
|
import * as getters from './getters';
|
||||||
|
|
||||||
const plugins = [];
|
const plugins = [];
|
||||||
if (process.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
plugins.push(createLogger());
|
plugins.push(createLogger());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user