@pinegrow/vite-plugin 3.0.73-alpha.5 → 3.0.73-alpha.7
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.
|
@@ -274,6 +274,7 @@ const createAstroComponentEntry = ({ entries, manifest, root }) => {
|
|
|
274
274
|
reasons: ['astro-component-file'],
|
|
275
275
|
},
|
|
276
276
|
attributes: [],
|
|
277
|
+
state: Array.isArray(manifest.state) ? manifest.state : [],
|
|
277
278
|
isFragment: false,
|
|
278
279
|
isRootFragment: false,
|
|
279
280
|
isIsland: false,
|
|
@@ -325,7 +326,9 @@ const scanAstroSourceDomMarkers = (root, manifest, options = {}) => {
|
|
|
325
326
|
const node = nodeIndex.get(sourceId)
|
|
326
327
|
|
|
327
328
|
if (!node) {
|
|
328
|
-
|
|
329
|
+
if (options.reportMissingMarkers) {
|
|
330
|
+
missing.push({ element, sourceId })
|
|
331
|
+
}
|
|
329
332
|
return
|
|
330
333
|
}
|
|
331
334
|
|