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
You can now set the extends property of a JSON config to another config file URL, and they'll be fetched and merged recursively. Useful for when we have a base config for a site that we want to inherit across a bunch of playgrounds.
|`files`| An object mapping filenames to file data. |
214
+
|`files.content`| Optional text content of the file. If omitted, a `fetch` is made to retrieve the file by filename, relative to the manifest URL. |
215
+
|`files.contentType`| Optional MIME type of the file. If omitted, type is taken from either the `fetch` response `Content-Type` header, or inferred from the filename extension when `content` is set. |
216
+
|`files.label`| Optional label for display in `playground-tab-bar`. If omitted, the filename is displayed. |
217
+
|`files.hidden`| If `true`, the file won't be visible in `playground-tab-bar`. |
218
+
|`extends`| Optional URL to another JSON config file to extend from. Configs are deeply merged. URLs are interpreted relative to the URL of each extendee config. |
0 commit comments