Skip to content

feat: support base64 loader - #1352

Merged
hyfdev merged 1 commit into
rolldown:mainfrom
ikkz:feat/loaders
Jun 6, 2024
Merged

hyfdev merged 1 commit into
rolldown:mainfrom
ikkz:feat/loaders

Conversation

@ikkz

@ikkz ikkz commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

Description

resolves #1297

This pr supports importing other files in base64 format, including text files and binary files

Maybe binary loader(#1301 ) can be implemented in a similar way? If so, I can also implement it in this pr

@netlify

netlify Bot commented Jun 5, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 032d086
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/66613ed6ea827e00084272c3

@codspeed

codspeed Bot commented Jun 5, 2024 •

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #1352 will not alter performance

Comparing ikkz:feat/loaders (032d086) with main (fa4262c)

Summary

✅ 6 untouched benchmarks

Comment thread crates/rolldown_utils/src/base64.rs Resolved
@hyfdev

hyfdev commented Jun 5, 2024

Copy link
Copy Markdown
Member

Great works! All looks fine except some parts I left comments for.


Maybe binary loader(#1301 ) can be implemented in a similar way? If so, I can also implement it in this pr

Yeah. It's welcome and you could give it a try. If it works out, we'd love to merge the PR.

@ikkz

ikkz commented Jun 5, 2024

Copy link
Copy Markdown
Contributor Author

CI on Windows fails, maybe git convertslf to crlf when checking out, I will try to disable this conversion of related files in .gitattributes in the next commit

@ikkz
ikkz requested a review from hyfdev June 6, 2024 04:54
@ikkz

ikkz commented Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

@hyf0 This PR is ready to be merged if there are no other issues.
Since a lot of files have been modified in this PR, I will try to implement the binary loader in another PR 😀

@hyfdev
hyfdev added this pull request to the merge queue Jun 6, 2024
@hyfdev
hyfdev removed this pull request from the merge queue due to a manual request Jun 6, 2024
@hyfdev hyfdev changed the title feat: base64 loader feat: support base64 loader Jun 6, 2024
@hyfdev
hyfdev added this pull request to the merge queue Jun 6, 2024
Merged via the queue into rolldown:main with commit 16d5938 Jun 6, 2024
@7086cmd 7086cmd mentioned this pull request Jun 8, 2024
kristofer-baxter added a commit to kristofer-baxter/rolldown that referenced this pull request Nov 13, 2026
Carry reshaped export HMR patches (`reshaped?.(all, unheld)`) with moved-binding, native-cell, TLA, and link-failure reload guards (rolldown#1352), and port production temporal read proofs, native unwrapped engine TDZ enforcement, and nameless minified `__checkTDZ` checks gated on compatibility temporal mode so upstream ordinary builds stay unchanged (rolldown#1364).

Co-authored-by: Copilot App <[email protected]>
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.

Support base64 loader

2 participants