Skip to content

Commit

Permalink
enhancement/log when API routes are being bundled (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Jan 18, 2025
1 parent e0ab150 commit 3f93860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/lifecycles/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ async function bundleApiRoutes(compilation) {
const apiConfigs = await getRollupConfigForApiRoutes(compilation);

if (apiConfigs.length > 0 && apiConfigs[0].input.length !== 0) {
console.info('bundling API routes...');
for (const configIndex in apiConfigs) {
const rollupConfig = apiConfigs[configIndex];
const bundle = await rollup(rollupConfig);
Expand Down

0 comments on commit 3f93860

Please sign in to comment.