Skip to content

test: replace file-loader with asset/resource#36

Merged
chenjiahan merged 1 commit intomainfrom
codex/replace-file-loader-with-asset-resource
Mar 31, 2026
Merged

test: replace file-loader with asset/resource#36
chenjiahan merged 1 commit intomainfrom
codex/replace-file-loader-with-asset-resource

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This PR replaces the test fixture usage of file-loader with Rspack's built-in asset/resource module type and removes the extra file-loader dev dependency. The fixture rules keep their previous emitted filenames by setting generator.filename so the middleware behavior under test stays the same while aligning the repo with native Rspack asset handling.

Testing

  • pnpm test

Related Links

  • None

@chenjiahan chenjiahan changed the title chore: replace file-loader with asset/resource test: replace file-loader with asset/resource Mar 31, 2026
@chenjiahan chenjiahan marked this pull request as ready for review March 31, 2026 06:29
@chenjiahan chenjiahan merged commit 57676bb into main Mar 31, 2026
5 checks passed
@chenjiahan chenjiahan deleted the codex/replace-file-loader-with-asset-resource branch March 31, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant