## PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
<table>
<tr><td>⏱️ <strong>Estimated effort to review</strong>: 1 🔵⚪⚪⚪⚪</td></tr>
<tr><td>🧪 <strong>No relevant tests</strong></td></tr>
<tr><td>🔒 <strong>No security concerns identified</strong></td></tr>
<tr><td>⚡ <strong>Recommended focus areas for review</strong><br><br>
<details><summary><a href='https://git.horstenkamp.eu/Screeps/screeps-deploy-action/src/branch/build/minify/package.json#L9-L9'><strong>Minification impact</strong></a>
Ensure the `-m` flag for minification with ncc produces a functioning bundle without altering behavior or introducing runtime errors.
</summary>
```json
"build": "ncc build index.js -o dist -m --external utf-8-validate --external bufferutil"
```
</details>
<details><summary><a href='https://git.horstenkamp.eu/Screeps/screeps-deploy-action/src/branch/build/minify/package.json#L9-L9'><strong>External dependencies</strong></a>
Verify that `utf-8-validate` and `bufferutil` remain correctly excluded from the minified output and are still resolved at runtime.
</summary>
```json
"build": "ncc build index.js -o dist -m --external utf-8-validate --external bufferutil"
```
</details>
</td></tr>
</table>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
PR Type
Enhancement
Description
Enable minification in build script.
Produce minified
dist/index.jsbundle.File Walkthrough
package.json
Add minification flag to build scriptpackage.json
-mflag to build script.index.js
Provide minified distribution bundledist/index.js
build: enable minification for build artifactto Enable minification for build artifactPR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Minification impact
Ensure the
-mflag for minification with ncc produces a functioning bundle without altering behavior or introducing runtime errors.External dependencies
Verify that
utf-8-validateandbufferutilremain correctly excluded from the minified output and are still resolved at runtime.PR Code Suggestions ✨
No code suggestions found for the PR.
d9a56ea576to653441e50b653441e50btoc05341c0a7Pull request closed