Skip to content

docs(replace): clarify options for allowed replacement values#422

Merged
shellscape merged 1 commit intorollup:masterfrom
stephane-vanraes:master
Jun 1, 2020
Merged

docs(replace): clarify options for allowed replacement values#422
shellscape merged 1 commit intorollup:masterfrom
stephane-vanraes:master

Conversation

@stephane-vanraes
Copy link
Copy Markdown
Contributor

Rollup Plugin Name: replace

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.

List any relevant issue numbers:

#399

Description

This PR updates the documentation as stated in #399 to clarify that functions can be used as replacement options using the replace plugin. Testing revealed that replacing with numbers also works, so I changed the wording strings into primitives (unsure if that's a good term ?)

Copy link
Copy Markdown
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!

@shellscape shellscape changed the title [docs] Clarify options on replace plugin docs(replace): clarify options for allowed replacement values Jun 1, 2020
@shellscape shellscape merged commit 6446657 into rollup:master Jun 1, 2020
LarsDenBakker pushed a commit to LarsDenBakker/plugins that referenced this pull request Sep 12, 2020
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.

2 participants