Trouble fetching Stimulus polyfills package

Hi, my application needs to support IE11. I know stimulus provides polyfills from ‘@stimulus/polyfills’, but yarn doesn’t seem to grab polyfills from the @stimulus package (screenshot of our node_modules below). We’re running stimulus v1.0.1. Is there a different way I should be grabbing them? Thank you!

41%20PM

The @stimulus/polyfills package is private (unpublished) because we’d rather not publish a package that just exports other 3rd party packages. See https://github.com/stimulusjs/stimulus/issues/60.

For now, it’s best to install and import them yourself: https://stimulusjs.org/handbook/installing#browser-support

1 Like

Thank you! This is very helpful.

@javan and I discussed this a bit more and decided to publish the polyfills package for the next release.

2 Likes