Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: support inline-loader and loader query #2386

Closed
9aoy opened this issue Mar 21, 2023 · 0 comments · Fixed by #2867
Closed

[Feature Request]: support inline-loader and loader query #2386

9aoy opened this issue Mar 21, 2023 · 0 comments · Fixed by #2867
Labels
feat New feature or request team The issue/pr is created by the member of Rspack.

Comments

@9aoy
Copy link
Contributor

9aoy commented Mar 21, 2023

What problem does this feature solve?

In modern.js,we have some template code and some inline-loader in there.

such as:

  import loader from '!dataLoaderPath?key=value&foo=bar';

  const request = new Request('http://localhost:8080/user/profile');

  loader({
    request,
    params: {},
  });

What does the proposed API of configuration look like?

https://webpack.js.org/concepts/loaders/#inline

@9aoy 9aoy added the feat New feature or request label Mar 21, 2023
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Mar 21, 2023
@9aoy 9aoy added this to the modern.js milestone Mar 21, 2023
@9aoy 9aoy added the P2 label Mar 28, 2023
@hyf0 hyf0 modified the milestones: modern.js, Planned Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants