@notionhq/custom-blocks-dev-shell 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/assets/index-B7I3Gs_j.js +11 -0
- package/dist/assets/index-DZSJvmJN.css +2 -0
- package/dist/index.html +2 -2
- package/dist-cli/runtime-error-client.js +52 -0
- package/dist-cli/vite-block-server.js +23 -1
- package/package.json +2 -7
- package/dist/assets/index-DDiHix6p.js +0 -9
- package/dist/assets/index-DPSvDdQX.css +0 -2
package/README.md
CHANGED
|
@@ -26,6 +26,12 @@ to pin its version. This also makes the reference docs available in
|
|
|
26
26
|
`node_modules`. If you do not install it, the CLI fetches the latest version
|
|
27
27
|
each time.
|
|
28
28
|
|
|
29
|
+
### Error surface
|
|
30
|
+
|
|
31
|
+
The preview shows an error surface when a block cannot initialize or an
|
|
32
|
+
uncaught runtime error prevents it from rendering. Use `Copy` to copy the
|
|
33
|
+
structured error or `Retry` to remount the block and host.
|
|
34
|
+
|
|
29
35
|
### Options
|
|
30
36
|
|
|
31
37
|
- `[path]`: Select a worker directory instead of using the current directory.
|