@wix/astro 2.25.0 → 2.26.0
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/build/dependencies/astro-translations/{chunk-YRKN4TFH.js → backend-runtime/middleware/static-translations.js} +33 -1
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.d.ts +4 -0
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.js +42 -0
- package/build/dependencies/astro-translations/integration/index.js +296 -0
- package/build/dependencies/astro-translations/types/wix-astro-i18n.d.ts +18 -0
- package/build/dependencies/astro-viewer-services-extensions/browser-runtime/sdk.js +21 -0
- package/build/dependencies/astro-viewer-services-extensions/types/index.d.ts +27 -0
- package/build/integration/builders-experimental.js +1 -1
- package/build/integration/builders-trusted.js +2 -2
- package/build/integration/builders.d.ts +27 -4
- package/build/integration/builders.js +2 -2
- package/build/integration/{chunk-S5CQHYTB.js → chunk-CBVCNKLN.js} +437 -13
- package/build/integration/chunk-CBVCNKLN.js.map +1 -0
- package/build/integration/{chunk-CTGNWVC3.js → chunk-E42TF2A2.js} +3 -5
- package/build/integration/chunk-E42TF2A2.js.map +1 -0
- package/build/integration/{chunk-LQFJQHEX.js → chunk-KCOYXYJL.js} +2 -2
- package/build/integration/{chunk-XF55M5AE.js → chunk-MNQWQ2MC.js} +2 -2
- package/build/integration/{chunk-XF55M5AE.js.map → chunk-MNQWQ2MC.js.map} +1 -1
- package/build/integration/index.js +78 -29
- package/build/integration/index.js.map +1 -1
- package/package.json +4 -2
- package/build/dependencies/astro-translations/index.js +0 -133
- package/build/dependencies/astro-translations/middleware/static-translations.js +0 -58
- package/build/integration/chunk-CTGNWVC3.js.map +0 -1
- package/build/integration/chunk-S5CQHYTB.js.map +0 -1
- /package/build/dependencies/astro-translations/{middleware → backend-runtime/middleware}/static-translations.d.ts +0 -0
- /package/build/dependencies/astro-translations/{index.d.ts → integration/index.d.ts} +0 -0
- /package/build/integration/{chunk-LQFJQHEX.js.map → chunk-KCOYXYJL.js.map} +0 -0
|
@@ -13850,8 +13850,6 @@ function compatSsrInOptions(options) {
|
|
|
13850
13850
|
|
|
13851
13851
|
// ../astro-custom-elements-extensions/src/vite/viteWrapCustomElementPlugin.ts
|
|
13852
13852
|
init_esm_shims();
|
|
13853
|
-
import React from "react";
|
|
13854
|
-
import ReactDOM from "react-dom";
|
|
13855
13853
|
import { ok as ok5 } from "assert";
|
|
13856
13854
|
import { join as join8, parse as parse5 } from "path";
|
|
13857
13855
|
import { send } from "vite";
|
|
@@ -13895,8 +13893,8 @@ function viteWrapCustomElementPlugin({
|
|
|
13895
13893
|
}) => {
|
|
13896
13894
|
const reactFileSuffix = dev ? "development.js" : "production.min.js";
|
|
13897
13895
|
const reactTemplate = defaultOutdent`
|
|
13898
|
-
<script crossorigin src="https://static.parastorage.com/unpkg/react
|
|
13899
|
-
<script crossorigin src="https://static.parastorage.com/unpkg/react-dom
|
|
13896
|
+
<script crossorigin src="https://static.parastorage.com/unpkg/react@18.3.1/umd/react.${reactFileSuffix}"></script>
|
|
13897
|
+
<script crossorigin src="https://static.parastorage.com/unpkg/react-dom@18.3.1/umd/react-dom.${reactFileSuffix}"></script>
|
|
13900
13898
|
`;
|
|
13901
13899
|
return defaultOutdent`
|
|
13902
13900
|
<!DOCTYPE html>
|
|
@@ -23746,4 +23744,4 @@ export {
|
|
|
23746
23744
|
createIntegration6,
|
|
23747
23745
|
siteComponent
|
|
23748
23746
|
};
|
|
23749
|
-
//# sourceMappingURL=chunk-
|
|
23747
|
+
//# sourceMappingURL=chunk-E42TF2A2.js.map
|