diff --git a/docs/README.md b/docs/README.md index e16f5b4e..0eca8c33 100644 --- a/docs/README.md +++ b/docs/README.md @@ -264,6 +264,26 @@ In *polyscript*, this is possible by defining one or more `[js_modules.X]` field * `[js_modules.main]` is a list of *source* -> *module name* pairs, similarly to how `[files]` field work, where the *module* name will then be reachable via `polyscript.js_modules.actual_name` in both *main* and *worker* world. As the *main* module lands on the main thread, where there is also likely some UI, it is also possible to define one or more related *CSS* to that module, as long as they target the very same name (see the example to better understand). * `[js_modules.worker]` is a list of *source* -> *module name* pairs that actually land only in ` + +
+ + +