Enable minification for build artifact #60
Reference in New Issue
Block a user
Delete Branch "build/minify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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