mbler 0.2.8-rc.3 → 0.2.8-rc.5

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.
@@ -97,19 +97,13 @@ var init_types = __esmMin((() => {
97
97
  var version_default;
98
98
  var init_version = __esmMin((() => {
99
99
  version_default = {
100
- commit: `commit 1baf9507d75a8356a2e032f3556dd630645f0c00
100
+ commit: `commit 9c7dd33af32ea582339c20084f4cdcb9b8f53395
101
101
  Author: ruanhor <3915264929@qq.com>
102
- Date: Sat Jun 27 23:38:10 2026 +0800
102
+ Date: Sun Jun 28 10:51:05 2026 +0800
103
103
 
104
- fix: cross-platform compatibility improvements
105
-
106
- - Use pathToFileURL for dynamic import() to support Windows paths
107
- - Enable shell mode in spawn() on Windows for .cmd/.bat resolution
108
- - Fix BUILD_MODULE env var syntax in example with cross-env
109
- - Bump version: 0.2.8-rc.2 -> 0.2.8-rc.3
110
- - Update @mbler/mcx-server dependency to 0.1.1-rc.5
104
+ chore: update changelog
111
105
  `,
112
- version: "0.2.8-rc.3"
106
+ version: "0.2.8-rc.5"
113
107
  };
114
108
  }));
115
109
  //#endregion
@@ -660,7 +654,8 @@ function join(baseDir, inputPath) {
660
654
  return path$1.isAbsolute(inputPath) ? inputPath : path$1.join(baseDir, inputPath);
661
655
  }
662
656
  async function ReadProjectMblerConfig(project) {
663
- const file = (await import(pathToFileURL(path$1.join(project, BuildConfig.ConfigFile)).href)).default || {};
657
+ const configPath = path$1.join(project, BuildConfig.ConfigFile);
658
+ const file = (await (process.platform === "win32" ? import(pathToFileURL(configPath).href) : import(configPath))).default || {};
664
659
  for (const key in file) if (!(key in templateMblerConfig)) throw new Error(`[read config]: read config from '${project}' error: Unexpected '${key}'`);
665
660
  const config = {
666
661
  ...templateMblerConfig,