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
The plugins can be initialized with the following options:
68
+
The plugin can be customized using the optional `juno` configuration object. This allows you to control how the Juno Docker container is used in your project, especially during local development or end-to-end (E2E) testing.
77
69
78
-
-`juno.container`: `true` to use [Juno Docker](https://github.com/junobuild/juno-docker) with default options, or specify an object.
70
+
###`juno.container`
79
71
80
-
The object accepts the following parameters:
72
+
Use the container option to enable, disable, or fine-tune the use of [Juno Docker](https://github.com/junobuild/juno-docker).
81
73
82
-
- An optional `url` as `string`, representing the container URL including the port, e.g. `http://127.0.0.1:8000`.
83
-
- An optional list of `modes` for which the container should be used.
74
+
You can provide:
75
+
76
+
-`false` — to disable the container entirely.
77
+
-`true` — to enable the container with default settings (only in development mode), which is also the default behavior.
78
+
- An object with the following fields:
79
+
-`url` (`string`, optional): A custom container URL, including the port. Example: http://127.0.0.1:8000
80
+
-`modes` (`string[]`, optional): An array of modes (e.g., ['development', 'test']) during which the container should be used.
84
81
85
82
By default, the container is mounted only in `development` mode.
The plugins can be initialized with the following options:
56
+
The plugin can be customized using the optional `juno` configuration object. This allows you to control how the Juno Docker container is used in your project, especially during local development or end-to-end (E2E) testing.
65
57
66
-
-`container`: `true` to use [Juno Docker](https://github.com/junobuild/juno-docker) with default options, or specify an object.
58
+
### `juno.container`
67
59
68
-
The object accepts the following parameters:
60
+
Use the container option to enable, disable, or fine-tune the use of [Juno Docker](https://github.com/junobuild/juno-docker).
69
61
70
-
- An optional `url` as `string`, representing the container URL including the port, e.g. `http://127.0.0.1:8000`.
71
-
- An optional list of `modes` for which the container should be used.
62
+
You can provide:
63
+
64
+
-`false` — to disable the container entirely.
65
+
-`true` — to enable the container with default settings (only in development mode), which is also the default behavior.
66
+
- An object with the following fields:
67
+
-`url` (`string`, optional): A custom container URL, including the port. Example: http://127.0.0.1:8000
68
+
-`modes` (`string[]`, optional): An array of modes (e.g., ['development', 'test']) during which the container should be used.
72
69
73
70
By default, the container is mounted only in `development` mode.
74
71
@@ -79,7 +76,10 @@ import juno from '@junobuild/vite-plugin';
0 commit comments