@webjsdev/core 0.7.55 → 0.7.56
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/package.json +1 -1
- package/src/webjs-config.d.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webjsdev/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The runtime for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Ships the html and css template tags, the WebComponent base class, signals, directives, and the isomorphic renderers.",
|
|
6
6
|
"types": "./index.d.ts",
|
package/src/webjs-config.d.ts
CHANGED
|
@@ -132,6 +132,20 @@ export interface WebjsDevTasks {
|
|
|
132
132
|
* appDir) entries are skipped. Read by the server (`readDevWatchPathsFromApp`).
|
|
133
133
|
*/
|
|
134
134
|
watch?: string[];
|
|
135
|
+
/**
|
|
136
|
+
* Dev embed bridge (#1498, #1504), DEV-ONLY, off by default. Parent origins
|
|
137
|
+
* (`https://builder.example`) allowed to frame the dev server and exchange
|
|
138
|
+
* `webjs-embed` messages with it. A set `WEBJS_EMBED_ORIGINS` replaces this
|
|
139
|
+
* list. Ignored by `webjs start`.
|
|
140
|
+
*/
|
|
141
|
+
embedOrigins?: string[];
|
|
142
|
+
/**
|
|
143
|
+
* Dev source locations (#1499, #1504), DEV-ONLY, off by default. `true` stamps
|
|
144
|
+
* `data-webjs-src="<app-relative-file>:<line>"` on the element opening tags of
|
|
145
|
+
* the app's `html` templates. `WEBJS_SOURCE_LOCATIONS=1|0` overrides it for
|
|
146
|
+
* one run. Ignored by `webjs start`.
|
|
147
|
+
*/
|
|
148
|
+
sourceLocations?: boolean;
|
|
135
149
|
}
|
|
136
150
|
|
|
137
151
|
/** Start task orchestration in `webjs.start` (#550). Read by the CLI, not the server. */
|