introvert
Combine a dependent set of Web Components into one JavaScript library
Installation
TODO: Someday this may appear on npm
Usage
./bin/introvert test/fixtures/index.html > index.js
Options
TODO: Options would be nice to have!
Notes
This is an experiment in cramming all the assets for a set of dependendent web components into one JS library package. The results look something like this:
; { { var doc = documentimplementation; var meta = doc; meta; dochead; docbodyinnerHTML = html; return doc; } { { // x-dep.js var importDoc; if typeof _ownerDocument !== 'undefined' importDoc = _ownerDocument; else var currentScript = document_currentScript || documentcurrentScript; importDoc = currentScriptownerDocument; var template = importDoc; /* ... */}; }; { { // x-app.js var importDoc; if typeof _ownerDocument !== 'undefined' importDoc = _ownerDocument; else var currentScript = document_currentScript || documentcurrentScript; importDoc = currentScriptownerDocument; var template = importDoc; /* ... */}; }; }