Skip to content

feat(legacy): add 'assumptions' option#19719

Merged
patak-cat merged 5 commits intovitejs:mainfrom
thetarnav:legacy-babel-options
Apr 7, 2025
Merged

feat(legacy): add 'assumptions' option#19719
patak-cat merged 5 commits intovitejs:mainfrom
thetarnav:legacy-babel-options

Conversation

@thetarnav
Copy link
Contributor

This updates and reopens #10887 which fixes #6965.

It does by adding a new plugin-legacy option: assumptions, which will be passed directly to @babel/preset-env options to configure compiler assumptions.

thetarnav added a commit to thetarnav/lightning-solid-demo-app that referenced this pull request Mar 25, 2025
@chiefcll
Copy link

Hi - Having additional control over Babel is essential for TV App Development. Please let us know what needs to happen to get this in and thanks!

@sapphi-red sapphi-red added plugin: legacy p2-nice-to-have Not breaking anything but nice to have (priority) labels Apr 7, 2025
@sapphi-red sapphi-red changed the title feat(plugin-legacy): add 'assumptions' option feat(legacy): add 'assumptions' option Apr 7, 2025
@patak-cat patak-cat merged commit d1d99c9 into vitejs:main Apr 7, 2025
18 checks passed
@thetarnav thetarnav deleted the legacy-babel-options branch April 7, 2025 13:15
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Co-authored-by: xiongmao86 <xiongmao86dev@sina.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-nice-to-have Not breaking anything but nice to have (priority) plugin: legacy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow specifying assumptions in @vitejs/plugin-legacy

5 participants