@marko/vite 4.1.11 → 4.1.12
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.mjs +2 -11
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -663,7 +663,6 @@ var babelCaller = {
|
|
|
663
663
|
supportsTopLevelAwait: true,
|
|
664
664
|
supportsExportNamespaceFrom: true
|
|
665
665
|
};
|
|
666
|
-
var optimizedRegistryIds = /* @__PURE__ */ new Map();
|
|
667
666
|
var registeredTagLib = false;
|
|
668
667
|
function markoPlugin(opts = {}) {
|
|
669
668
|
let compiler;
|
|
@@ -727,7 +726,8 @@ function markoPlugin(opts = {}) {
|
|
|
727
726
|
baseConfig = {
|
|
728
727
|
cache,
|
|
729
728
|
optimize,
|
|
730
|
-
|
|
729
|
+
// optimizedRegistryIds:
|
|
730
|
+
// optimize && linked ? optimizedRegistryIds : undefined,
|
|
731
731
|
runtimeId,
|
|
732
732
|
sourceMaps: true,
|
|
733
733
|
writeVersionComment: false,
|
|
@@ -946,14 +946,6 @@ function markoPlugin(opts = {}) {
|
|
|
946
946
|
if (isBuild && linked && !isSSRBuild) {
|
|
947
947
|
try {
|
|
948
948
|
serverManifest = await store.read();
|
|
949
|
-
if (serverManifest.optimizedRegistryIds) {
|
|
950
|
-
for (const id in serverManifest.optimizedRegistryIds) {
|
|
951
|
-
optimizedRegistryIds.set(
|
|
952
|
-
id,
|
|
953
|
-
serverManifest.optimizedRegistryIds[id]
|
|
954
|
-
);
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
949
|
inputOptions.input = toHTMLEntries(root, serverManifest.entries);
|
|
958
950
|
for (const entry in serverManifest.entrySources) {
|
|
959
951
|
const id = normalizePath(path5.resolve(root, entry));
|
|
@@ -1190,7 +1182,6 @@ if (import.meta.hot) import.meta.hot.accept(() => {});`;
|
|
|
1190
1182
|
}
|
|
1191
1183
|
}
|
|
1192
1184
|
}
|
|
1193
|
-
serverManifest.optimizedRegistryIds = Object.fromEntries(optimizedRegistryIds);
|
|
1194
1185
|
store.write(serverManifest);
|
|
1195
1186
|
} else {
|
|
1196
1187
|
const browserManifest = {};
|
package/package.json
CHANGED