@tiddlywiki/mws 0.2.1 → 0.2.2

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/mws.js CHANGED
@@ -50229,7 +50229,8 @@ async function importPlugins(twFolder, cacheFolder, type, $tw, mwsVersion, array
50229
50229
  "core"
50230
50230
  ].map((e) => {
50231
50231
  const oldPath = path4.join(twFolder, e);
50232
- const relativePluginPath = path4.join("tiddlywiki", $tw.version, path4.relative(twFolder, oldPath));
50232
+ const pluginCode = path4.relative(twFolder, oldPath);
50233
+ const relativePluginPath = path4.join("tiddlywiki", $tw.version, pluginCode);
50233
50234
  return [oldPath, relativePluginPath];
50234
50235
  });
50235
50236
  const mwsRelative = `mws/${mwsVersion}/client`;
@@ -50298,9 +50299,9 @@ async function importPlugins(twFolder, cacheFolder, type, $tw, mwsVersion, array
50298
50299
  }
50299
50300
  return hash2;
50300
50301
  }));
50301
- tiddlerFiles.set(plugin.title, relativePluginPath);
50302
+ tiddlerFiles.set(plugin.title, relativePluginPath.replaceAll("\\", "/"));
50302
50303
  pluginsList.push({
50303
- path: relativePluginPath,
50304
+ path: relativePluginPath.replaceAll("\\", "/"),
50304
50305
  hashes,
50305
50306
  name: plugin.name,
50306
50307
  description: plugin.description,