Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Specify a different provider #22

Open
RemiDesgrange opened this issue Oct 12, 2023 · 1 comment
Open

Specify a different provider #22

RemiDesgrange opened this issue Oct 12, 2023 · 1 comment

Comments

@RemiDesgrange
Copy link

The JSPM generator API

The parameter cannot be overriden in the importmap.toml (IIRC the marshmallow here: https://github.com/dropseed/django-importmap/blob/master/importmap/core.py#L26)

The only solution I can see is to have a custom ImportMap class, but currently we can't customize that via a const in settings.py. (Or I'm missing something)

@davegaeddert
Copy link
Member

Hey @RemiDesgrange — I think we should be able to add a provider option to the config and pass it through? I'll try and take a look soon, but you're more than welcome to start a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants