Skip to content

Conversation

@mho22
Copy link
Collaborator

@mho22 mho22 commented Dec 9, 2025

Motivation for the change, related issues

Based on #2999

Intl dynamic extension added a third file where its import had to be ignored : icu.dat. The pull request created a third preserve-data-loaders-imports Vite plugin. This pull request aims to regroup every preserve-{extension}-loaders-imports into a unique Vite extension.

This pull request is more a suggestion than its ignore-*-imports counterpart.

Implementation details

Regrouping repeatedly copy pasted vite plugins inside a vite extension file named `vite-preserve-loaders-imports.ts.

Testing Instructions

CI - test-built-npm-packages should not fail

@mho22 mho22 mentioned this pull request Dec 9, 2025
3 tasks
@mho22 mho22 force-pushed the create-vite-preserve-loaders-imports branch from bec8e01 to 921dfb0 Compare December 9, 2025 14:41
@adamziel
Copy link
Collaborator

I took a pass over the comments, LMK if they're accurate @mho22

@mho22
Copy link
Collaborator Author

mho22 commented Dec 10, 2025

@adamziel LGTM!

@adamziel adamziel merged commit 42ea377 into trunk Dec 10, 2025
32 checks passed
@adamziel adamziel deleted the create-vite-preserve-loaders-imports branch December 10, 2025 22:26
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.

3 participants