igniteui-astro-components 0.0.25 → 0.0.26
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-astro-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "Reusable Astro components, layouts, and integrations for Infragistics / Ignite UI documentation sites. Replaces the Starlight defaults with project-specific implementations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -46,9 +46,7 @@ const baseUrl = lob ? (env.lobDemosBaseUrl ?? env.demosBaseUrl ?? '').replac
|
|
|
46
46
|
: isDv ? (env.dvDemosBaseUrl ?? env.demosBaseUrl ?? '').replace(/\/$/, '')
|
|
47
47
|
: (env.demosBaseUrl ?? '').replace(/\/$/, '');
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
// In dev, the demos server doesn't perform that redirect, so the replacement is not needed.
|
|
51
|
-
const iframeSrc = import.meta.env.DEV ? `${baseUrl}${src}/` : `${baseUrl}${src}`.replace(/([^/])(\?|$)/, '$1/$2');
|
|
49
|
+
const iframeSrc = `${baseUrl}${src}`;
|
|
52
50
|
const githubSrc = srcNoSlash;
|
|
53
51
|
|
|
54
52
|
// Stable, unique element ID derived from the sample path.
|