cloudcommerce 0.20.2 → 0.21.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/CHANGELOG.md +23 -0
- package/package.json +4 -4
- package/packages/api/package.json +1 -1
- package/packages/apps/affilate-program/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/flash-courier/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/config/firebase.json +10 -0
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +2 -2
- package/packages/events/package.json +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/firebase/serve-storefront.js +24 -18
- package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
- package/packages/ssr/package.json +2 -2
- package/packages/ssr/src/firebase/serve-storefront.ts +25 -18
- package/packages/storefront/client.d.ts +1 -19
- package/packages/storefront/dist/client/_astro/{ShopHeader.0c884bbe.js → ShopHeader.82ae97a5.js} +1 -1
- package/packages/storefront/dist/client/_astro/_...slug_.c85b8978.css +1 -0
- package/packages/storefront/dist/client/_astro/{client.8035a95a.js → client.0fb6b44e.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.9d9d7ac4.js → hoisted.572313d6.js} +1 -1
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/chunks/_...49a92e87.mjs +34 -0
- package/packages/storefront/dist/server/chunks/{account@_@astro.89e4cf60.mjs → account@_@astro.5388531b.mjs} +6 -7
- package/packages/storefront/dist/server/chunks/{astro.45d3047f.mjs → astro.161c5a41.mjs} +72 -54
- package/packages/storefront/dist/server/chunks/{endpoint@_@js.f880a152.mjs → endpoint@_@js.fe113d0d.mjs} +6 -7
- package/packages/storefront/dist/server/chunks/{fallback@_@astro.89538855.mjs → fallback@_@astro.23b17e3d.mjs} +6 -7
- package/packages/storefront/dist/server/chunks/{index@_@astro.56fdd6da.mjs → index@_@astro.2527898d.mjs} +6 -7
- package/packages/storefront/dist/server/chunks/{index@_@astro.548cf7ad.mjs → index@_@astro.433809ce.mjs} +6 -7
- package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.bde9380b.mjs → _...slug_.astro.1d0e7f10.mjs} +83 -95
- package/packages/storefront/dist/server/chunks/pages/{account.astro.f07cf19e.mjs → account.astro.7539e037.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/pages/{endpoint.js.d4e37801.mjs → endpoint.js.b71736ca.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/pages/{fallback.astro.e2e8a0e4.mjs → fallback.astro.15292657.mjs} +7 -7
- package/packages/storefront/dist/server/chunks/pages/{index.astro.3760ebe3.mjs → index.astro.9592fbd6.mjs} +4 -3
- package/packages/storefront/dist/server/entry.mjs +12 -11
- package/packages/storefront/dist/server/renderers.mjs +6 -7
- package/packages/storefront/package.json +2 -2
- package/packages/storefront/server.d.ts +3 -27
- package/packages/storefront/src/lib/$storefront.d.ts +28 -0
- package/packages/storefront/src/lib/assets/base.css +2 -0
- package/packages/storefront/src/lib/layouts/Base.astro +1 -9
- package/packages/storefront/src/lib/layouts/BaseHead.astro +73 -2
- package/packages/storefront/src/lib/pages/_vue.ts +1 -1
- package/packages/storefront/src/lib/server-data.ts +1 -1
- package/packages/storefront/src/lib/ssr-context.ts +46 -36
- package/packages/storefront/src/vue-globals.d.ts +3 -3
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/_astro/_...slug_.c2da43fb.css +0 -1
- package/packages/storefront/dist/server/chunks/_...9e22b578.mjs +0 -35
- package/packages/storefront/src/lib/layouts/BaseStateJson.astro +0 -68
|
@@ -2,9 +2,9 @@ import { compile } from 'path-to-regexp';
|
|
|
2
2
|
import { serialize, parse } from 'cookie';
|
|
3
3
|
import { joinPaths, slash, prependForwardSlash, removeTrailingForwardSlash } from '@astrojs/internal-helpers/path';
|
|
4
4
|
import { bold, yellow, dim, cyan, red, reset } from 'kleur/colors';
|
|
5
|
-
import 'fs';
|
|
6
|
-
import 'http';
|
|
7
|
-
import { TLSSocket } from 'tls';
|
|
5
|
+
import 'node:fs';
|
|
6
|
+
import 'node:http';
|
|
7
|
+
import { TLSSocket } from 'node:tls';
|
|
8
8
|
import mime from 'mime';
|
|
9
9
|
import { escape } from 'html-escaper';
|
|
10
10
|
import 'string-width';
|
|
@@ -1145,7 +1145,7 @@ function createComponent(arg1, moduleId) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
|
-
const ASTRO_VERSION = "2.8.
|
|
1148
|
+
const ASTRO_VERSION = "2.8.5";
|
|
1149
1149
|
|
|
1150
1150
|
function createAstroGlobFn() {
|
|
1151
1151
|
const globHandler = (importMetaGlobResult) => {
|
|
@@ -3684,14 +3684,14 @@ function getParams(array) {
|
|
|
3684
3684
|
};
|
|
3685
3685
|
return fn;
|
|
3686
3686
|
}
|
|
3687
|
-
function stringifyParams(params,
|
|
3687
|
+
function stringifyParams(params, route) {
|
|
3688
3688
|
const validatedParams = Object.entries(params).reduce((acc, next) => {
|
|
3689
|
-
validateGetStaticPathsParameter(next,
|
|
3689
|
+
validateGetStaticPathsParameter(next, route.component);
|
|
3690
3690
|
const [key, value] = next;
|
|
3691
3691
|
acc[key] = value == null ? void 0 : value.toString();
|
|
3692
3692
|
return acc;
|
|
3693
3693
|
}, {});
|
|
3694
|
-
return JSON.stringify(
|
|
3694
|
+
return JSON.stringify(route.generate(validatedParams));
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
3697
3697
|
function generatePaginateFunction(routeMatch) {
|
|
@@ -3792,7 +3792,7 @@ async function callGetStaticPaths({
|
|
|
3792
3792
|
const keyedStaticPaths = staticPaths;
|
|
3793
3793
|
keyedStaticPaths.keyed = /* @__PURE__ */ new Map();
|
|
3794
3794
|
for (const sp of keyedStaticPaths) {
|
|
3795
|
-
const paramsKey = stringifyParams(sp.params, route
|
|
3795
|
+
const paramsKey = stringifyParams(sp.params, route);
|
|
3796
3796
|
keyedStaticPaths.keyed.set(paramsKey, sp);
|
|
3797
3797
|
}
|
|
3798
3798
|
routeCache.set(route, { ...cached, staticPaths: keyedStaticPaths });
|
|
@@ -3824,7 +3824,7 @@ class RouteCache {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
}
|
|
3826
3826
|
function findPathItemByKey(staticPaths, params, route) {
|
|
3827
|
-
const paramsKey = stringifyParams(params, route
|
|
3827
|
+
const paramsKey = stringifyParams(params, route);
|
|
3828
3828
|
const matchedStaticPath = staticPaths.keyed.get(paramsKey);
|
|
3829
3829
|
if (matchedStaticPath) {
|
|
3830
3830
|
return matchedStaticPath;
|
|
@@ -4147,6 +4147,37 @@ async function renderPage({ mod, renderContext, env, cookies }) {
|
|
|
4147
4147
|
}
|
|
4148
4148
|
return response;
|
|
4149
4149
|
}
|
|
4150
|
+
async function tryRenderPage(renderContext, env, mod, onRequest) {
|
|
4151
|
+
const apiContext = createAPIContext({
|
|
4152
|
+
request: renderContext.request,
|
|
4153
|
+
params: renderContext.params,
|
|
4154
|
+
props: renderContext.props,
|
|
4155
|
+
site: env.site,
|
|
4156
|
+
adapterName: env.adapterName
|
|
4157
|
+
});
|
|
4158
|
+
if (onRequest) {
|
|
4159
|
+
return await callMiddleware(
|
|
4160
|
+
env.logging,
|
|
4161
|
+
onRequest,
|
|
4162
|
+
apiContext,
|
|
4163
|
+
() => {
|
|
4164
|
+
return renderPage({
|
|
4165
|
+
mod,
|
|
4166
|
+
renderContext,
|
|
4167
|
+
env,
|
|
4168
|
+
cookies: apiContext.cookies
|
|
4169
|
+
});
|
|
4170
|
+
}
|
|
4171
|
+
);
|
|
4172
|
+
} else {
|
|
4173
|
+
return await renderPage({
|
|
4174
|
+
mod,
|
|
4175
|
+
renderContext,
|
|
4176
|
+
env,
|
|
4177
|
+
cookies: apiContext.cookies
|
|
4178
|
+
});
|
|
4179
|
+
}
|
|
4180
|
+
}
|
|
4150
4181
|
|
|
4151
4182
|
function createEnvironment(options) {
|
|
4152
4183
|
return options;
|
|
@@ -4211,6 +4242,9 @@ function matchRoute(pathname, manifest) {
|
|
|
4211
4242
|
const clientLocalsSymbol = Symbol.for("astro.locals");
|
|
4212
4243
|
const responseSentSymbol = Symbol.for("astro.responseSent");
|
|
4213
4244
|
class App {
|
|
4245
|
+
/**
|
|
4246
|
+
* The current environment of the application
|
|
4247
|
+
*/
|
|
4214
4248
|
#env;
|
|
4215
4249
|
#manifest;
|
|
4216
4250
|
#manifestData;
|
|
@@ -4220,7 +4254,6 @@ class App {
|
|
|
4220
4254
|
dest: consoleLogDestination,
|
|
4221
4255
|
level: "info"
|
|
4222
4256
|
};
|
|
4223
|
-
#base;
|
|
4224
4257
|
#baseWithoutTrailingSlash;
|
|
4225
4258
|
constructor(manifest, streaming = true) {
|
|
4226
4259
|
this.#manifest = manifest;
|
|
@@ -4228,26 +4261,39 @@ class App {
|
|
|
4228
4261
|
routes: manifest.routes.map((route) => route.routeData)
|
|
4229
4262
|
};
|
|
4230
4263
|
this.#routeDataToRouteInfo = new Map(manifest.routes.map((route) => [route.routeData, route]));
|
|
4231
|
-
this.#
|
|
4232
|
-
|
|
4264
|
+
this.#baseWithoutTrailingSlash = removeTrailingForwardSlash(this.#manifest.base);
|
|
4265
|
+
this.#env = this.#createEnvironment(streaming);
|
|
4266
|
+
}
|
|
4267
|
+
set setManifest(newManifest) {
|
|
4268
|
+
this.#manifest = newManifest;
|
|
4269
|
+
}
|
|
4270
|
+
/**
|
|
4271
|
+
* Creates an environment by reading the stored manifest
|
|
4272
|
+
*
|
|
4273
|
+
* @param streaming
|
|
4274
|
+
* @private
|
|
4275
|
+
*/
|
|
4276
|
+
#createEnvironment(streaming = false) {
|
|
4277
|
+
return createEnvironment({
|
|
4278
|
+
adapterName: this.#manifest.adapterName,
|
|
4233
4279
|
logging: this.#logging,
|
|
4234
|
-
markdown: manifest.markdown,
|
|
4280
|
+
markdown: this.#manifest.markdown,
|
|
4235
4281
|
mode: "production",
|
|
4236
|
-
compressHTML: manifest.compressHTML,
|
|
4237
|
-
renderers: manifest.renderers,
|
|
4238
|
-
clientDirectives: manifest.clientDirectives,
|
|
4239
|
-
async
|
|
4240
|
-
if (!(specifier in manifest.entryModules)) {
|
|
4282
|
+
compressHTML: this.#manifest.compressHTML,
|
|
4283
|
+
renderers: this.#manifest.renderers,
|
|
4284
|
+
clientDirectives: this.#manifest.clientDirectives,
|
|
4285
|
+
resolve: async (specifier) => {
|
|
4286
|
+
if (!(specifier in this.#manifest.entryModules)) {
|
|
4241
4287
|
throw new Error(`Unable to resolve [${specifier}]`);
|
|
4242
4288
|
}
|
|
4243
|
-
const bundlePath = manifest.entryModules[specifier];
|
|
4289
|
+
const bundlePath = this.#manifest.entryModules[specifier];
|
|
4244
4290
|
switch (true) {
|
|
4245
4291
|
case bundlePath.startsWith("data:"):
|
|
4246
4292
|
case bundlePath.length === 0: {
|
|
4247
4293
|
return bundlePath;
|
|
4248
4294
|
}
|
|
4249
4295
|
default: {
|
|
4250
|
-
return createAssetLink(bundlePath, manifest.base, manifest.assetsPrefix);
|
|
4296
|
+
return createAssetLink(bundlePath, this.#manifest.base, this.#manifest.assetsPrefix);
|
|
4251
4297
|
}
|
|
4252
4298
|
}
|
|
4253
4299
|
},
|
|
@@ -4256,11 +4302,12 @@ class App {
|
|
|
4256
4302
|
ssr: true,
|
|
4257
4303
|
streaming
|
|
4258
4304
|
});
|
|
4259
|
-
|
|
4260
|
-
|
|
4305
|
+
}
|
|
4306
|
+
set setManifestData(newManifestData) {
|
|
4307
|
+
this.#manifestData = newManifestData;
|
|
4261
4308
|
}
|
|
4262
4309
|
removeBase(pathname) {
|
|
4263
|
-
if (pathname.startsWith(this.#base)) {
|
|
4310
|
+
if (pathname.startsWith(this.#manifest.base)) {
|
|
4264
4311
|
return pathname.slice(this.#baseWithoutTrailingSlash.length + 1);
|
|
4265
4312
|
}
|
|
4266
4313
|
return pathname;
|
|
@@ -4389,36 +4436,7 @@ class App {
|
|
|
4389
4436
|
mod,
|
|
4390
4437
|
env: this.#env
|
|
4391
4438
|
});
|
|
4392
|
-
const
|
|
4393
|
-
request: renderContext.request,
|
|
4394
|
-
params: renderContext.params,
|
|
4395
|
-
props: renderContext.props,
|
|
4396
|
-
site: this.#env.site,
|
|
4397
|
-
adapterName: this.#env.adapterName
|
|
4398
|
-
});
|
|
4399
|
-
let response;
|
|
4400
|
-
if (page.onRequest) {
|
|
4401
|
-
response = await callMiddleware(
|
|
4402
|
-
this.#env.logging,
|
|
4403
|
-
page.onRequest,
|
|
4404
|
-
apiContext,
|
|
4405
|
-
() => {
|
|
4406
|
-
return renderPage({
|
|
4407
|
-
mod,
|
|
4408
|
-
renderContext,
|
|
4409
|
-
env: this.#env,
|
|
4410
|
-
cookies: apiContext.cookies
|
|
4411
|
-
});
|
|
4412
|
-
}
|
|
4413
|
-
);
|
|
4414
|
-
} else {
|
|
4415
|
-
response = await renderPage({
|
|
4416
|
-
mod,
|
|
4417
|
-
renderContext,
|
|
4418
|
-
env: this.#env,
|
|
4419
|
-
cookies: apiContext.cookies
|
|
4420
|
-
});
|
|
4421
|
-
}
|
|
4439
|
+
const response = await tryRenderPage(renderContext, this.#env, mod, page.onRequest);
|
|
4422
4440
|
Reflect.set(request, responseSentSymbol, true);
|
|
4423
4441
|
return response;
|
|
4424
4442
|
} catch (err) {
|
|
@@ -4540,4 +4558,4 @@ class NodeApp extends App {
|
|
|
4540
4558
|
}
|
|
4541
4559
|
}
|
|
4542
4560
|
|
|
4543
|
-
export { Fragment as F, NodeApp as N, createComponent as a,
|
|
4561
|
+
export { Fragment as F, NodeApp as N, createComponent as a, renderComponent as b, createAstro as c, addAttribute as d, renderSlot as e, renderHead as f, deserializeManifest as g, server_default as h, maybeRenderHead as m, renderTemplate as r, spreadAttributes as s, unescapeHTML as u };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { renderers } from '../renderers.mjs';
|
|
2
2
|
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.
|
|
3
|
+
import './astro.161c5a41.mjs';
|
|
4
4
|
import 'path-to-regexp';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
import '@astrojs/internal-helpers/path';
|
|
7
7
|
import 'kleur/colors';
|
|
8
|
-
import 'fs';
|
|
9
|
-
import 'http';
|
|
10
|
-
import 'tls';
|
|
8
|
+
import 'node:fs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:tls';
|
|
11
11
|
import 'mime';
|
|
12
12
|
import 'html-escaper';
|
|
13
13
|
import 'string-width';
|
|
14
14
|
import 'vue';
|
|
15
15
|
import 'vue/server-renderer';
|
|
16
16
|
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.
|
|
17
|
+
import './pages/_...slug_.astro.1d0e7f10.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
@@ -25,11 +25,10 @@ import 'magic-string';
|
|
|
25
25
|
import 'node:stream';
|
|
26
26
|
import '@cloudcommerce/api';
|
|
27
27
|
import 'node:events';
|
|
28
|
-
import 'node:fs';
|
|
29
28
|
import '@cloudcommerce/config';
|
|
30
29
|
/* empty css */import '@vueuse/core';
|
|
31
30
|
import '@headlessui/vue';
|
|
32
31
|
|
|
33
|
-
const page = () => import('./pages/endpoint.js.
|
|
32
|
+
const page = () => import('./pages/endpoint.js.b71736ca.mjs').then(n => n.e);
|
|
34
33
|
|
|
35
34
|
export { page };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { renderers } from '../renderers.mjs';
|
|
2
2
|
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.
|
|
3
|
+
import './astro.161c5a41.mjs';
|
|
4
4
|
import 'path-to-regexp';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
import '@astrojs/internal-helpers/path';
|
|
7
7
|
import 'kleur/colors';
|
|
8
|
-
import 'fs';
|
|
9
|
-
import 'http';
|
|
10
|
-
import 'tls';
|
|
8
|
+
import 'node:fs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:tls';
|
|
11
11
|
import 'mime';
|
|
12
12
|
import 'html-escaper';
|
|
13
13
|
import 'string-width';
|
|
14
14
|
import 'vue';
|
|
15
15
|
import 'vue/server-renderer';
|
|
16
16
|
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.
|
|
17
|
+
import './pages/_...slug_.astro.1d0e7f10.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
@@ -25,11 +25,10 @@ import 'magic-string';
|
|
|
25
25
|
import 'node:stream';
|
|
26
26
|
import '@cloudcommerce/api';
|
|
27
27
|
import 'node:events';
|
|
28
|
-
import 'node:fs';
|
|
29
28
|
import '@cloudcommerce/config';
|
|
30
29
|
/* empty css */import '@vueuse/core';
|
|
31
30
|
import '@headlessui/vue';
|
|
32
31
|
|
|
33
|
-
const page = () => import('./pages/fallback.astro.
|
|
32
|
+
const page = () => import('./pages/fallback.astro.15292657.mjs');
|
|
34
33
|
|
|
35
34
|
export { page };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { renderers } from '../renderers.mjs';
|
|
2
2
|
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.
|
|
3
|
+
import './astro.161c5a41.mjs';
|
|
4
4
|
import 'path-to-regexp';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
import '@astrojs/internal-helpers/path';
|
|
7
7
|
import 'kleur/colors';
|
|
8
|
-
import 'fs';
|
|
9
|
-
import 'http';
|
|
10
|
-
import 'tls';
|
|
8
|
+
import 'node:fs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:tls';
|
|
11
11
|
import 'mime';
|
|
12
12
|
import 'html-escaper';
|
|
13
13
|
import 'string-width';
|
|
14
14
|
import 'vue';
|
|
15
15
|
import 'vue/server-renderer';
|
|
16
16
|
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.
|
|
17
|
+
import './pages/_...slug_.astro.1d0e7f10.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
@@ -25,11 +25,10 @@ import 'magic-string';
|
|
|
25
25
|
import 'node:stream';
|
|
26
26
|
import '@cloudcommerce/api';
|
|
27
27
|
import 'node:events';
|
|
28
|
-
import 'node:fs';
|
|
29
28
|
import '@cloudcommerce/config';
|
|
30
29
|
/* empty css */import '@vueuse/core';
|
|
31
30
|
import '@headlessui/vue';
|
|
32
31
|
|
|
33
|
-
const page = () => import('./pages/index.astro.
|
|
32
|
+
const page = () => import('./pages/index.astro.9592fbd6.mjs').then(n => n.i);
|
|
34
33
|
|
|
35
34
|
export { page };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { renderers } from '../renderers.mjs';
|
|
2
2
|
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.
|
|
3
|
+
import './astro.161c5a41.mjs';
|
|
4
4
|
import 'path-to-regexp';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
import '@astrojs/internal-helpers/path';
|
|
7
7
|
import 'kleur/colors';
|
|
8
|
-
import 'fs';
|
|
9
|
-
import 'http';
|
|
10
|
-
import 'tls';
|
|
8
|
+
import 'node:fs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:tls';
|
|
11
11
|
import 'mime';
|
|
12
12
|
import 'html-escaper';
|
|
13
13
|
import 'string-width';
|
|
14
14
|
import 'vue';
|
|
15
15
|
import 'vue/server-renderer';
|
|
16
16
|
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.
|
|
17
|
+
import './pages/_...slug_.astro.1d0e7f10.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
@@ -25,11 +25,10 @@ import 'magic-string';
|
|
|
25
25
|
import 'node:stream';
|
|
26
26
|
import '@cloudcommerce/api';
|
|
27
27
|
import 'node:events';
|
|
28
|
-
import 'node:fs';
|
|
29
28
|
import '@cloudcommerce/config';
|
|
30
29
|
/* empty css */import '@vueuse/core';
|
|
31
30
|
import '@headlessui/vue';
|
|
32
31
|
|
|
33
|
-
const page = () => import('./pages/index.astro.
|
|
32
|
+
const page = () => import('./pages/index.astro.9592fbd6.mjs').then(n => n.a);
|
|
34
33
|
|
|
35
34
|
export { page };
|