Skip to content

feat: support enabling builtin loaders in compiler builder#9262

Merged
h-a-n-a merged 2 commits intomainfrom
loader-plugins
Feb 12, 2025
Merged

feat: support enabling builtin loaders in compiler builder#9262
h-a-n-a merged 2 commits intomainfrom
loader-plugins

Conversation

@h-a-n-a
Copy link
Copy Markdown
Contributor

@h-a-n-a h-a-n-a commented Feb 12, 2025

Summary

Support enabling builtin loaders in compiler builder.

Under the hood, rspack registers enabled loader plugins for loader resolving.
Otherwise, an failed to resolve error will be reported.

Check out tests to see examples: https://github.com/web-infra-dev/rspack/blob/605d8ac816b4142492c239ac04e65bd59a746e6b/crates/rspack/tests/loader.rs

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 12, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 605d8ac
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67ac62ec4a96860008a4d79d

@github-actions github-actions bot added release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack. labels Feb 12, 2025
@h-a-n-a h-a-n-a marked this pull request as ready for review February 12, 2025 09:11
@h-a-n-a h-a-n-a enabled auto-merge (squash) February 12, 2025 09:11
@h-a-n-a h-a-n-a merged commit 519c54c into main Feb 12, 2025
39 checks passed
@h-a-n-a h-a-n-a deleted the loader-plugins branch February 12, 2025 09:37
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 12, 2025

CodSpeed Performance Report

Merging #9262 will not alter performance

Comparing loader-plugins (605d8ac) with main (8b066ad)

Summary

✅ 6 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants