Skip to content

Commit

Permalink
Add transpiling build process. Fixes #19 (#24)
Browse files Browse the repository at this point in the history
* Add transpiling build process

* tidy up
  • Loading branch information
robdodson authored Sep 16, 2016
1 parent 540701d commit 635a6cf
Show file tree
Hide file tree
Showing 7 changed files with 952 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ implementers may get useful functionality into the hands of developers sooner wh

## Notes on the polyfill

The `dist` directory contains two versions of the polyfill. `inert.js` is the debug version, containing an inlined sourcemap, `inert.min.js` is
the production version, minified to be as small as possible. These are both
generated from the ES6 version of `inert.js` which lives in the root directory,
and can be used if you don't need to worry about transpilation.

The polyfill attempts to provide a reasonable fidelity polyfill for the `inert` attribute, however please note:

- It relies on mutation observers to detect the addition of the `inert` attribute, and to detect dynamically added content within inert subtrees.
Expand Down
Loading

0 comments on commit 635a6cf

Please sign in to comment.