zillow-browser-shims

Browser and JS shims used by Zillow

Usage no npm install needed!

<script type="module">
  import zillowBrowserShims from 'https://cdn.skypack.dev/zillow-browser-shims';
</script>

README

zillow-browser-shims Version Badge

Browser and JS language shims used by Zillow

Just require/import zillow-browser-shims, and the environment will be shimmed.

import 'zillow-browser-shims';

Included shims

Only browser shims

If you only want to bring in the browser shims and not the JS language shims (from zillow-js-shims), you can import zillow-browser-shims/browser-only. If you choose this route, you will want to be sure that you are properly bringing in the language shims for the browsers you support somehow. For example:

import 'zillow-js-shims/target/es2015';
import 'zillow-browser-shims/browser-only';