@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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -11
  2. 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
- optimizedRegistryIds: optimize && linked ? optimizedRegistryIds : void 0,
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/vite",
3
3
  "description": "A Marko plugin for Vite",
4
- "version": "4.1.11",
4
+ "version": "4.1.12",
5
5
  "author": "Dylan Piercey <dpiercey@ebay.com>",
6
6
  "bugs": "https://github.com/marko-js/vite/issues",
7
7
  "dependencies": {