nx
nx copied to clipboard
fix(webpack): add check if scripts exist or fallback to empty array
Current Behavior
When I use @nrwl/node:webpack as executor, the build fails because of undefined buildOptions.scripts.
Expected Behavior
The build can be built using the @nrwl/node:webpack executor.
☁️ Nx Cloud Report
CI is running/has finished running commands for commit bfbd14deb599ac63153a9b0d369faf89df3433ad. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 12 targets
nx affected --target=e2e --base=4e5656c5506a890b68765f8cb772db143ac061ec --head=bfbd14deb599ac63153a9b0d369faf89df3433ad --exclude=e2e-storybook,e2e-storybook-angular,e2e-react-native,e2e-detox,e2e-make-angular-cli-faster --parallel=1nx affected --target=test --base=4e5656c5506a890b68765f8cb772db143ac061ec --head=bfbd14deb599ac63153a9b0d369faf89df3433ad --parallel=1nx affected --target=build --base=4e5656c5506a890b68765f8cb772db143ac061ec --head=bfbd14deb599ac63153a9b0d369faf89df3433ad --parallel=3nx-cloud record -- yarn depchecknx affected --target=lint --base=4e5656c5506a890b68765f8cb772db143ac061ec --head=bfbd14deb599ac63153a9b0d369faf89df3433ad --parallel=3nx-cloud record -- yarn nx workspace-lintnx-cloud record -- yarn check-lock-filesnx-cloud record -- yarn check-commitnx-cloud record -- yarn nx format:check --base=4e5656c5506a890b68765f8cb772db143ac061ec --head=bfbd14deb599ac63153a9b0d369faf89df3433adnx-cloud record -- yarn check-importsnx-cloud record -- yarn documentationnx build typedoc-theme
Sent with 💌 from NxCloud.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Updated |
|---|---|---|---|
| nx-dev | ⬜️ Ignored (Inspect) | Sep 20, 2022 at 4:27AM (UTC) |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.