@arcgis/lumina-compiler 4.34.0-next.7 → 4.34.0-next.9
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.js +13 -10
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5208,18 +5208,21 @@ async function Te(e) {
|
|
|
5208
5208
|
return e._loadersCache ??= Zc(e), await e._loadersCache;
|
|
5209
5209
|
}
|
|
5210
5210
|
async function Zc(e) {
|
|
5211
|
-
const t = e.viteCommand === "build" ? "cdn" : "lazyNpm", i = e.viteConfig.base
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
)
|
|
5215
|
-
|
|
5211
|
+
const t = e.viteCommand === "build" ? "cdn" : "lazyNpm", i = e.viteConfig.base;
|
|
5212
|
+
let n = 0;
|
|
5213
|
+
const s = async (l) => (await Promise.all(
|
|
5214
|
+
l.map(async (d) => {
|
|
5215
|
+
const p = n++;
|
|
5216
|
+
return d.type === "stencil" ? await Vc(i, d, t, p) : d.type === "@arcgis/lumina" ? await Xc(i, d, t, p) : void 0;
|
|
5217
|
+
})
|
|
5218
|
+
)).filter(j).flat(), r = await Promise.all([
|
|
5216
5219
|
// This may contain an import map so must be first
|
|
5217
5220
|
xc(i, t),
|
|
5218
|
-
ve.then(
|
|
5219
|
-
Qn(e).then(
|
|
5220
|
-
]),
|
|
5221
|
+
ve.then(s),
|
|
5222
|
+
Qn(e).then(s)
|
|
5223
|
+
]), a = u.join(e.dir.src, "loader.ts");
|
|
5221
5224
|
return [
|
|
5222
|
-
...
|
|
5225
|
+
...r.flat(),
|
|
5223
5226
|
{
|
|
5224
5227
|
optimizableImports: [
|
|
5225
5228
|
/**
|
|
@@ -5228,7 +5231,7 @@ async function Zc(e) {
|
|
|
5228
5231
|
*/
|
|
5229
5232
|
],
|
|
5230
5233
|
javascriptCode: [
|
|
5231
|
-
`import { defineCustomElements } from "${
|
|
5234
|
+
`import { defineCustomElements } from "${a}";`,
|
|
5232
5235
|
"globalThis.devOnly$ownTagNames = new Set();",
|
|
5233
5236
|
`defineCustomElements(${t === "cdn" ? `{resourcesUrl:"./${e.options.build?.cdn?.namespace ?? Dt}/"}` : ""});`
|
|
5234
5237
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcgis/api-extractor": "4.34.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.34.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.34.0-next.9",
|
|
22
|
+
"@arcgis/components-build-utils": "4.34.0-next.9",
|
|
23
|
+
"@arcgis/components-utils": "4.34.0-next.9",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"esbuild": "^0.25.4",
|
|
26
26
|
"glob": "^11.0.0",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"vitest-fail-on-console": "^0.7.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arcgis/lumina": "~4.34.0-next.
|
|
40
|
+
"@arcgis/lumina": "~4.34.0-next.9"
|
|
41
41
|
}
|
|
42
42
|
}
|