You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2021. It is now read-only.
Thanks for the great polyfill, I am trying to conditionally load the polyfill in for Safari, but with the implementation that you provided Browserify does not support require.ensure that is only with Webpack.
How should this be loaded?
The text was updated successfully, but these errors were encountered:
@SamAmiri I'm not sure what else can you do with Browserify. But If you find out, let us know.
I normally suggest to avoid declaring an explicit dependency between a module and a polyfill, especially if you're using a bundler like browserify, and instead do your own thing to provision your runtime before evaluating your modules, or use the polyfill service from FT, which does that for you for free :)
Thanks for the prompt response, I am thinking of implementing browserify-require-async to see if that will work. Would you mind to update the current README to reflect Browserify does not use require.ensure?
Hi Andy,
Thanks for the great polyfill, I am trying to conditionally load the polyfill in for Safari, but with the implementation that you provided
Browserify
does not supportrequire.ensure
that is only with Webpack.How should this be loaded?
The text was updated successfully, but these errors were encountered: