An open API service indexing awesome lists of open source software.

https://github.com/captaincodeman/polyfill-loading

Polyfill Loading Example
https://github.com/captaincodeman/polyfill-loading

Last synced: 7 months ago
JSON representation

Polyfill Loading Example

Awesome Lists containing this project

README

          

# Polyfill-Loading

Example project to show async polyfill loading for browser compatibility without slowdowns.

See [live example](https://polyfill-loading.web.app/) and [blog post](https://www.captaincodeman.com/2020/03/10/eternal-polyfilling-of-the-legacy-browser) for full details.

## Requirements

Uses Node, npm and firebase cli

## npm scripts

Use `npm run [command]`:

### build

Transpile TypeScript to JavaScript and bundle

### build:watch

Development build (doesn't minify templates or javascript)

### deploy

Builds and deploys to firebase hosting

### sourcemap

Displays source-map-explorer views of bundles