webpack / webpack/webpack

[Feat] Get `importAttributes` in loader interface

Open
#20,228 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
65.9k
Forks
9.5k
Avg merge
10h 40m
Merged PRs (30d)
296

Description

Feature Proposal

Like what this.resourceQuery do.

Feature Use Case

Treat source code differently when importAttributes different

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the loader interface and the existing resourceQuery exposure, then determine where importAttributes would be made available to loaders. Done means loaders can distinguish source code based on differing importAttributes, with coverage for that behavior in the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.