zitejs 0.9.19 → 0.9.20
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/cjs/bundle/index.js
CHANGED
|
@@ -364,10 +364,12 @@ async function bundleEndpointsImpl(baseDir, endpointNames) {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
const output = JSON.stringify({
|
|
368
368
|
bundledEndpoints,
|
|
369
369
|
endpointErrors: Object.keys(endpointErrors).length > 0 ? endpointErrors : undefined,
|
|
370
|
-
})
|
|
370
|
+
});
|
|
371
|
+
fs.writeFileSync('/tmp/zitejs-bundle-result.json', output);
|
|
372
|
+
console.log(output);
|
|
371
373
|
}
|
|
372
374
|
async function bundleOneOffScriptImpl(scriptPath, sdkPath) {
|
|
373
375
|
const rawScript = fs.readFileSync(scriptPath, 'utf-8');
|
package/dist/esm/bundle/index.js
CHANGED
|
@@ -328,10 +328,12 @@ async function bundleEndpointsImpl(baseDir, endpointNames) {
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
|
|
331
|
+
const output = JSON.stringify({
|
|
332
332
|
bundledEndpoints,
|
|
333
333
|
endpointErrors: Object.keys(endpointErrors).length > 0 ? endpointErrors : undefined,
|
|
334
|
-
})
|
|
334
|
+
});
|
|
335
|
+
fs.writeFileSync('/tmp/zitejs-bundle-result.json', output);
|
|
336
|
+
console.log(output);
|
|
335
337
|
}
|
|
336
338
|
async function bundleOneOffScriptImpl(scriptPath, sdkPath) {
|
|
337
339
|
const rawScript = fs.readFileSync(scriptPath, 'utf-8');
|