Push command bugs found from testing
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3580302. --> Reported by: [hooroomoo](https://www.drupal.org/user/3688872) Related to !764 >>> <h3 id="overview">Overview</h3> <p>This issue addresses 4 things found from testing and reported by @balintbrews:</p> <p>1. Fixed bug where built global asset files were being looked at in the wrong directory. It was looking for them in componentDir but it should be outputDir.</p> <p><del>2. Prompting user to create a canvas.config.json with componentDir defined if it does not exist</del><br> Moved to <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/canvas/issues/3580523" title="Status: Closed (fixed)">#3580523: Prompt user to create a canvas.config.json with componentDir defined if it does not exist</a></span></p> <p>3. Inside push command, add the build result table for errors</p> <p>4. Ignore "@/components" when gathering local imports. We do not need to pass this to the viteBuild or add it to the canvas-manifest.json since Canvas has an importmap for this.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <h3 id="ui-changes">User interface changes</h3>
issue