babel-polyfill-udemy-website

Udemy Website's Babel polyfill

Usage no npm install needed!

<script type="module">
  import babelPolyfillUdemyWebsite from 'https://cdn.skypack.dev/babel-polyfill-udemy-website';
</script>

README

Udemy Babel Polyfill for our Website

This is the main polyfill used by our udemy/website-django/static/ codebase.

Installation

Install Babel locally.

$ yarn add babel

Install the Udemy Babel polyfill locally.

$ yarn add babel-polyfill-udemy-website

Configuration

At the top of your entry JavaScript file import the Udemy Babel polyfill.

// At index.js

import 'babel-polyfill-udemy-website';

Contributing

See Contributing.