소스 검색

Add open option to admin plugin config

Rares Capilnar 2 년 전
부모
커밋
f72b91f1e5
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      medusa-config.js

+ 3 - 0
medusa-config.js

@@ -47,6 +47,9 @@ const plugins = [
     /** @type {import('@medusajs/admin').PluginOptions} */
     options: {
       autoRebuild: true,
+      develop: {
+        open: process.env.OPEN_BROWSER !== "false",
+      },
     },
   },
 ];