feat: Add npm run package instead of build#130
Merged
Conversation
d757bfb to
06b9072
Compare
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
command instead of buildnpm run package instead of build
- Change build tool from @vercel/ncc to Rollup - Update build command from `npm run build` to `npm run package` - Add rollup.config.js to project structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This was referenced Dec 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the build process to use Rollup instead of NCC and transitions the project to use ECMAScript modules. The most significant changes include updating build scripts, adding a Rollup configuration, and modifying dependencies to support the new build system.
Build system migration:
package.jsonand the GitHub Actions workflow to usenpm run packageinstead ofnpm run build(package.json,.github/workflows/build.yml). [1] [2]rollup.config.jsfile to configure Rollup for bundling the project as an ES module (rollup.config.js).Module system update:
"type": "module"topackage.jsonto enable ECMAScript module syntax throughout the project (package.json).Dependency updates:
@vercel/nccdependency and adds Rollup-related dependencies (@rollup/plugin-commonjs,@rollup/plugin-node-resolve,rollup, and an optional platform-specific Rollup package) inpackage.json(package.json).Reference