@arcgis/lumina-compiler 4.34.0-next.20 → 4.34.0-next.21
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 +22 -14
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5716,19 +5716,21 @@ const dt = "@arcgis/lumina:printTotalBuildSize", dl = (e) => ({
|
|
|
5716
5716
|
* used by a package from outside the monorepo (eg @arcgis/lumina is used
|
|
5717
5717
|
* inside the package, and by Calcite outside the package).
|
|
5718
5718
|
*/
|
|
5719
|
-
exclude:
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5719
|
+
exclude: [
|
|
5720
|
+
...S ? [
|
|
5721
|
+
"@arcgis/lumina",
|
|
5722
|
+
"@arcgis/components-controllers",
|
|
5723
|
+
"@arcgis/components-utils",
|
|
5724
|
+
"@arcgis/core-adapter",
|
|
5725
|
+
"@arcgis/map-components",
|
|
5726
|
+
"@arcgis/common-components",
|
|
5727
|
+
"@arcgis/charts-components",
|
|
5728
|
+
"@arcgis/embeddable-components",
|
|
5729
|
+
"@arcgis/imagery-components",
|
|
5730
|
+
"@arcgis/map-config-components",
|
|
5731
|
+
"@arcgis/portal-components"
|
|
5732
|
+
] : [],
|
|
5733
|
+
// By excluding Lumina above, we also disable discovery of packages
|
|
5732
5734
|
// used by it (Lit), which are then discovered at runtime and cause
|
|
5733
5735
|
// dev-server reload. We could manually include all Lit packages,
|
|
5734
5736
|
// but because Lit has so many entry points and barrel files,
|
|
@@ -5736,6 +5738,12 @@ const dt = "@arcgis/lumina:printTotalBuildSize", dl = (e) => ({
|
|
|
5736
5738
|
// rather than decrease them (620 vs 621)), defeating the point of
|
|
5737
5739
|
// dependency optimization. Add to it that debugging is easier for
|
|
5738
5740
|
// non-optimized dependencies, so we exclude it.
|
|
5741
|
+
//
|
|
5742
|
+
// For users outside the monorepo, we choose to exclude Lit for similar
|
|
5743
|
+
// reasons - the benefits of pre-bundling are nil. Otherwise, we would
|
|
5744
|
+
// have to explicitly include the Lit imports that are added dynamically
|
|
5745
|
+
// by the JSX to lit-html transformation
|
|
5746
|
+
//
|
|
5739
5747
|
// Even though lit/ is a barrel package, we still need to explicitly
|
|
5740
5748
|
// exclude the sub-packages to prevent them from being optimized at
|
|
5741
5749
|
// runtime.
|
|
@@ -5744,7 +5752,7 @@ const dt = "@arcgis/lumina:printTotalBuildSize", dl = (e) => ({
|
|
|
5744
5752
|
"lit-element",
|
|
5745
5753
|
"@lit/reactive-element",
|
|
5746
5754
|
"@lit/context"
|
|
5747
|
-
]
|
|
5755
|
+
]
|
|
5748
5756
|
};
|
|
5749
5757
|
if (typeof l.setupFiles == "string" ? l.setupFiles = [...lt, l.setupFiles] : Array.isArray(l.setupFiles) ? l.setupFiles = [...lt, ...l.setupFiles] : l.setupFiles = [...lt], e.isInPuppeteerTestBackEnd) {
|
|
5750
5758
|
if (p?.enabled === !0)
|
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.21",
|
|
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.21",
|
|
22
|
+
"@arcgis/components-build-utils": "4.34.0-next.21",
|
|
23
|
+
"@arcgis/components-utils": "4.34.0-next.21",
|
|
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.21"
|
|
41
41
|
}
|
|
42
42
|
}
|