Skip to content

Conversation

huang-julien
Copy link
Member

@huang-julien huang-julien commented Nov 28, 2023

πŸ”— Linked issue

fix #24491

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Hi πŸ‘‹ this PR remove the usage of stripLiteralwithin the devonly build plugin .#24491 is probably due to attributes content being wrapped with " so it is considered as literal by stripLiteral

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@huang-julien
Copy link
Member Author

cc @stafyniaksacha

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests βœ…

❗ No coverage uploaded for pull request base (main@e3b8b84). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24511   +/-   ##
=======================================
  Coverage        ?   58.65%           
=======================================
  Files           ?        5           
  Lines           ?      861           
  Branches        ?       46           
=======================================
  Hits            ?      505           
  Misses          ?      356           
  Partials        ?        0           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@danielroe
Copy link
Member

sorry for the unsolicited change; it's minor - we keep components directory for mode to auto-import components rather than the built-in Nuxt components.

but I will think about reorganising our directory structure as I think it's a bit confusing.

@huang-julien
Copy link
Member Author

ah my bad, i thought it was for plugins related to components πŸ˜…

@danielroe danielroe changed the title fix(nuxt): don't strip literals from template in devOnly plugin fix(nuxt): don't strip literals from template in <DevOnly> Nov 28, 2023
@danielroe danielroe merged commit f98aa5d into main Nov 28, 2023
@danielroe danielroe deleted the fix/dev-only-class branch November 28, 2023 21:49
@github-actions github-actions bot mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<DevOnly> empties props of elements in its #fallback slot
3 participants