Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(run): add input option #1699

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

mkantor
Copy link
Contributor

@mkantor mkantor commented Mar 29, 2024

Rollup Plugin Name: run

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

Description

This changeset adds an input option to the run plugin. This option allows specifying which entry point to run if you have multiple in your bundle.

mkantor added a commit to clockworksinc/rollup-plugin-run that referenced this pull request Apr 1, 2024
See <rollup/plugins#1699>, this is a built
version of that branch. NPM can consume this by referring to a github
URL in package.json.
Copy link
Collaborator

@shellscape shellscape left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR. small README change needed

packages/run/README.md Outdated Show resolved Hide resolved
@mkantor mkantor force-pushed the plugin-run-multiple-entry-points branch from 51192d5 to aaad25c Compare June 5, 2024 14:09
@mkantor mkantor requested a review from shellscape June 5, 2024 14:09
@shellscape shellscape merged commit 03a167b into rollup:master Jun 5, 2024
5 checks passed
@mkantor mkantor deleted the plugin-run-multiple-entry-points branch June 5, 2024 15:20
younggglcy pushed a commit to younggglcy/plugins that referenced this pull request Jun 6, 2024
* chore(run): add test for multiple entry points

* refactor(run): extract reusable consts from a test

* feat(run): add `input` option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants