mercury-agent 0.4.9 → 0.4.10
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/package.json +1 -1
- package/src/cli/mercury.ts +3 -4
package/package.json
CHANGED
package/src/cli/mercury.ts
CHANGED
|
@@ -238,10 +238,9 @@ function buildAction(): void {
|
|
|
238
238
|
);
|
|
239
239
|
process.exit(1);
|
|
240
240
|
}
|
|
241
|
-
cpSync
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
});
|
|
241
|
+
// Bun's cpSync with a filter callback silently fails on Windows —
|
|
242
|
+
// use without filter; node_modules exclusion is only needed in dev.
|
|
243
|
+
cpSync(resourcesSrc, resourcesDest, { recursive: true });
|
|
245
244
|
if (!existsSync(resourcesDest)) {
|
|
246
245
|
console.error(`❌ Failed to copy resources/ into build context`);
|
|
247
246
|
console.error(` Source: ${resourcesSrc} (exists: ${existsSync(resourcesSrc)})`);
|