]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
refactor: simpler devtools
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 23 Sep 2020 16:31:58 +0000 (18:31 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 23 Sep 2020 16:31:58 +0000 (18:31 +0200)
src/store.ts

index efb37c92e3456134b9b7e164ebf11eb2933c2b71..0776c79661b417f864f6fcfc30dbcc241cac9311 100644 (file)
@@ -204,7 +204,7 @@ export function createStore<
         (store = buildStore(id, state, getters, actions, getInitialState(id)))
       )
 
-      if (IS_CLIENT && __BROWSER__ && (__DEV__ || __FEATURE_PROD_DEVTOOLS__)) {
+      if (IS_CLIENT && __DEV__ /*|| __FEATURE_PROD_DEVTOOLS__*/) {
         const app = getClientApp()
         if (app) {
           addDevtools(app, store, req)