Skip to content

Feature: Pass options down to the loaders #9

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

Open
wbern opened this issue Dec 2, 2021 · 0 comments
Open

Feature: Pass options down to the loaders #9

wbern opened this issue Dec 2, 2021 · 0 comments

Comments

@wbern
Copy link

wbern commented Dec 2, 2021

In order to customize the way we download files with @node-loader/http, we need to be able to pass down options from the node-loader configuration object.

I propose that we add the below, as well as supporting the previous API.

export default {
  loaders: [{ options: { someOption: true }, loader: importMapLoader }],
};
@wbern wbern mentioned this issue Dec 2, 2021
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

No branches or pull requests

1 participant