arcadia-browser-shims

Browser and JS shims used by Arcadia

Usage no npm install needed!

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

README

arcadia-browser-shims

Browser and JS language shims used by Arcadia

npm version CircleCI

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

import 'arcadia-browser-shims';

Included shims

Only browser shims

If you only want to bring in the browser shims and not the JS language shims (from arcadia-js-shims), you can import arcadia-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 'arcadia-js-shims/target/es2015';
import 'arcadia-browser-shims/browser-only';