@deot/docs-dever 1.0.1 → 1.0.3
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/dist/index.cjs +6 -1
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -253,7 +253,12 @@ var createRuntimePlugin = (options, resolvedWorkspace) => ({
|
|
|
253
253
|
workspace,
|
|
254
254
|
events: "/__docs/events"
|
|
255
255
|
}).replace(/</g, "\\u003c");
|
|
256
|
-
const styles = node_fs.existsSync(localClientEntry) ? [] : [
|
|
256
|
+
const styles = node_fs.existsSync(localClientEntry) ? [] : [
|
|
257
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-client/dist/index.style.css",
|
|
258
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-renderer/dist/index.style.css",
|
|
259
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-markdown/dist/index.style.css",
|
|
260
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-playground/dist/index.style.css"
|
|
261
|
+
];
|
|
257
262
|
return [{
|
|
258
263
|
tag: "script",
|
|
259
264
|
children: `window.__DOCS_RUNTIME__ = Object.freeze(${runtime});`,
|
package/dist/index.js
CHANGED
|
@@ -224,7 +224,12 @@ var createRuntimePlugin = (options, resolvedWorkspace) => ({
|
|
|
224
224
|
workspace,
|
|
225
225
|
events: "/__docs/events"
|
|
226
226
|
}).replace(/</g, "\\u003c");
|
|
227
|
-
const styles = fs$1.existsSync(localClientEntry) ? [] : [
|
|
227
|
+
const styles = fs$1.existsSync(localClientEntry) ? [] : [
|
|
228
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-client/dist/index.style.css",
|
|
229
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-renderer/dist/index.style.css",
|
|
230
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-markdown/dist/index.style.css",
|
|
231
|
+
"https://cdn.jsdelivr.net/npm/@deot/docs-playground/dist/index.style.css"
|
|
232
|
+
];
|
|
228
233
|
return [{
|
|
229
234
|
tag: "script",
|
|
230
235
|
children: `window.__DOCS_RUNTIME__ = Object.freeze(${runtime});`,
|