importing jquery/select plugin from an npm folder

importing jquery/select plugin from an npm folder

tacman1123tacman1123 Posts: 198Questions: 46Answers: 1

When importing the select plugin from a ESM module on jsdelivr, the code is attempting to load from the /npm subfolder, which isn't mapped.

image

I'm not sure if this is a problem with the AssetMapper component, or if it's something that you can fix as you're updating the plugin modules.

There is an active discussion at https://github.com/symfony/symfony/issues/52467, can you look at that issue and provide some guidance please? I suspect it's something that AssetMapper has to fix, but I don't know.

Thanks.

Replies

  • tacman1123tacman1123 Posts: 198Questions: 46Answers: 1

    Ryan says it's an importmap issue which he can fix.

  • allanallan Posts: 63,451Questions: 1Answers: 10,465 Site admin

    Let us know how you get on.

    Allan

Sign In or Register to comment.