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

Add and use anchors for nested options #4825

Merged
merged 2 commits into from Jan 28, 2023
Merged

Add and use anchors for nested options #4825

merged 2 commits into from Jan 28, 2023

Conversation

lukastaegert
Copy link
Member

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

List any relevant issue numbers:

Description

This adds anchors for nested options like treeshake.moduleSideEffects or output.generatedCode.symbols and uses them within the documentation as well as links from Rollup. Also, this adds a link to every deprecation warning we have at the moment.

@netlify
Copy link

netlify bot commented Jan 26, 2023

Deploy Preview for rollupjs ready!

Name Link
🔨 Latest commit 24275a4
🔍 Latest deploy log https://app.netlify.com/sites/rollupjs/deploys/63d3bc56d42db60009fc9e02
😎 Deploy Preview https://deploy-preview-4825--rollupjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented Jan 26, 2023

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#nested-options

or load it into the REPL:
https://deploy-preview-4825--rollupjs.netlify.app/repl/?pr=4825

@codecov
Copy link

codecov bot commented Jan 26, 2023

Codecov Report

Merging #4825 (24275a4) into master (12cbd25) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4825      +/-   ##
==========================================
+ Coverage   98.99%   99.00%   +0.01%     
==========================================
  Files         219      219              
  Lines        7826     7835       +9     
  Branches     2169     2169              
==========================================
+ Hits         7747     7757      +10     
  Misses         26       26              
+ Partials       53       52       -1     
Impacted Files Coverage Δ
src/Bundle.ts 100.00% <ø> (ø)
src/ExternalModule.ts 100.00% <ø> (ø)
src/Module.ts 100.00% <ø> (ø)
src/utils/PluginContext.ts 100.00% <ø> (ø)
src/utils/options/normalizeInputOptions.ts 100.00% <ø> (ø)
src/utils/options/normalizeOutputOptions.ts 100.00% <ø> (ø)
src/utils/error.ts 98.95% <100.00%> (ø)
src/utils/urls.ts 100.00% <100.00%> (ø)
cli/run/batchWarnings.ts 99.17% <0.00%> (+0.82%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@lukastaegert lukastaegert merged commit b87a2e5 into master Jan 28, 2023
@lukastaegert lukastaegert deleted the nested-options branch January 28, 2023 05:32
@rollup-bot
Copy link
Collaborator

This PR has been released as part of rollup@3.12.0. You can test it via npm install rollup.

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